Changeset - 8baf97380e08
[Not reviewed]
dev
0 3 0
Dennis Fink - 9 years ago 2015-10-21 10:40:43
dennis.fink@c3l.lu
Set classes for select fields correctly

There was a typo. The underscore should be placed after class, not before
3 files changed with 6 insertions and 6 deletions:
0 comments (0 inline, 0 general)
ennstatus/templates/donate/index.html
Show inline comments
 
@@ -59,27 +59,27 @@
 
      </div>
 
    </div>
 
    <div class="col-md-4">
 
      <div class="thumbnail">
 
        <center>
 
          <h3>SnailMail</h3>
 
        </center>
 
        <div class="well well-sm">
 
          <div class="pull-right">
 
            <form class="form-inline" role="form" method="POST" action"{{ url_for('donate.index') }}">
 
              {{ form.hidden_tag() }}
 
              <div class="form-group">
 
                {{ form.country(_class="form-class") }}
 
                {{ form.country(class_="form-control input-sm") }}
 
                <input type="submit" class="btn btn-primary btn-sm" value="Submit">
 
              </div>
 
              <input type="submit" class="btn btn-primary btn-xs" value="Submit">
 
            </form>
 
          </div>
 
          <div class="clearfix"></div>
 
          <address>
 
            <strong>Frënn vun der Ënn, ASBL</strong><br>
 
                    BPM 381892<br>
 
                    {{ address['address'] }}<br>
 
                    {{ address['postal_code'] }}, {{ address['city'] }}<br>
 
                    {{ address['country'] }}
 
          </address>
 
        </div>
 
      </div>
ennstatus/templates/donate/received.html
Show inline comments
 
@@ -9,27 +9,27 @@
 
    <div class="pull-left">
 
      {% if csv_file %}
 
        <h3>{{ '-'.join([year, month]) }}</h3>
 
      {% else %}
 
        <h3>Error!</h3>
 
      {% endif %}
 
    </div>
 
    <div class="pull-right">
 
      <form class="form-inline" role="form" method="POST" action="/donate/received">
 
        {{ form.hidden_tag() }}
 
        <div class="form-group">
 
          {{ form.year.label }}
 
          {{ form.year(_class="form-control") }}
 
          {{ form.year(class_="form-control") }}
 
          {{ form.month.label }}
 
          {{ form.month(_class="form-control") }}
 
          {{ form.month(class_="form-control") }}
 
        </div>
 
        <input type="submit" class="btn btn-primary btn-sm" value="Submit">
 
      </form> 
 
    </div>
 
  </div>
 
  <div class="clearfix"></div>
 
  <div class="col-md-12">
 
    {% if csv_file %}
 
      {{ macros.create_donations_table(csv_file) }}
 
    {% else %}
 
      {% if year and month %}
 
        <p>No donations found for {{ '-'.join([year, month]) }}!</p>
ennstatus/templates/root/contact.html
Show inline comments
 
@@ -5,27 +5,27 @@
 
{% block content %}
 
  <div class="col-md-4 text-center">
 
    <img src="{{ url_for('static', filename='images/Contact.png') }}" class="img-rounded" alt="WhoIs" width="160"></img>
 
    <h2>Contact</h2>
 
  </div>
 
  <div class="col-md-8">
 
    <h2>General</h2>
 
    <div class="pull-right">
 
      <form class="form-inline" role="form" method="POST" action="{{ url_for('root.contact') }}">
 
        {{ form.hidden_tag()}}
 
        <div class="form-group">
 
          {{ form.country.label }}
 
          {{ form.country(_class="form-control") }}
 
          {{ form.country(class_="form-control input-sm") }}
 
          <input type="submit" class="btn btn-primary btn-sm" value="Submit">
 
        </div>
 
        <input type="submit" class="btn btn-primary btn-xs" value="Submit">
 
      </form>
 
    </div>
 
    <div class="clearfix"></div>
 

	
 
    <p>Please mail all general inquiries to:</p>
 
    <address>
 
      <strong>Frënn vun der Ënn, ASBL</strong><br>
 
        BPM 381892<br>
 
        {{ address['address'] }}<br>
 
        {{ address['postal_code'] }}, {{ address['city'] }}<br>
 
        {{ address['country'] }}<br>
 
        <br>
0 comments (0 inline, 0 general)