GSA/christopher

View on GitHub
_pages/contact.html

Summary

Maintainability
Test Coverage
---
layout: base
title: Contact Us
permalink: /contact/
---



      <div class="usa-grid">
      {% for form in site.forms %}
        {% if form.type == 'newsletter' %}
          {% assign f = form %}
        {% endif %}
      {% endfor %}
      <h1>Ask a question</h1>
      <p>
          You can use this form to contact the CTO team or feel free to email us directly at
          <a href='mailto:cto@gsa.gov'>cto@gsa.gov.</a>
      </p>
      <form id="contact" action="{{ f.url }}" method="POST">
        <fieldset>
          <div class="usa-width-one-half">
            {% for field in f.fields %}
              {% unless field.type == 'hidden' %}<label for="contact-{{ field.name }}">{{ field.label }}</label>{% endunless %}
              <input id="contact-{{ field.name }}"
                name="{{ field.name }}" type="{{ field.type }}"
                {% if field.value %} value="{{ field.value }}" {% endif %}>
            {% endfor %}
            <div class="usa-input-buttons-inline">
              <input type="submit" value="{{ f.button }}">
            </div>
          </div>
          <div class="usa-width-one-half" style="margin-top: 3rem;">
            {% if f.privacypolicy %}
              <p>{{ f.privacypolicy }}</p>
            {% else %}
              <p></p>
            {% endif %}
          </div>
        </fieldset>

      </form>
      </div>