Skip to content

Commit

Permalink
Add missing cycles to raising/spending pages
Browse files Browse the repository at this point in the history
  • Loading branch information
lbeaufort committed Apr 25, 2018
1 parent c2f4f7d commit fb2e90a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions fec/data/templates/raising-breakdown.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,10 @@
<select id="cycle" name="cycle" class="js-cycle" aria-controls="raising-breakdowns">
<option value="2018" {% if cycle == '2018' %}selected{% endif %}>2017&ndash;2018</option>
<option value="2016" {% if cycle == '2016' %}selected{% endif %}>2015&ndash;2016</option>
<option value="2014" {% if cycle == '2014' %}selected{% endif %}>2013&ndash;2014</option>
<option value="2012" {% if cycle == '2012' %}selected{% endif %}>2011&ndash;2012</option>
<option value="2010" {% if cycle == '2010' %}selected{% endif %}>2009&ndash;2010</option>
<option value="2008" {% if cycle == '2008' %}selected{% endif %}>2007&ndash;2008</option>
</select>
<noscript>
<button type="submit" class="button button--cta">Submit</button>
Expand Down
3 changes: 3 additions & 0 deletions fec/data/templates/spending-breakdown.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,10 @@
<select id="cycle" name="cycle" class="js-cycle" aria-controls="spending-breakdown">
<option value="2018" {% if cycle == '2018' %}selected{% endif %}>2017&ndash;2018</option>
<option value="2016" {% if cycle == '2016' %}selected{% endif %}>2015&ndash;2016</option>
<option value="2014" {% if cycle == '2014' %}selected{% endif %}>2013&ndash;2014</option>
<option value="2012" {% if cycle == '2012' %}selected{% endif %}>2011&ndash;2012</option>
<option value="2010" {% if cycle == '2010' %}selected{% endif %}>2009&ndash;2010</option>
<option value="2008" {% if cycle == '2008' %}selected{% endif %}>2007&ndash;2008</option>
</select>
<noscript>
<button type="submit" class="button button--cta">Submit</button>
Expand Down

0 comments on commit fb2e90a

Please sign in to comment.