added choose year

This commit is contained in:
Harry Bomrah 2016-04-11 18:08:23 +08:00
parent fcc41fe3b2
commit 26abf163fa
1 changed files with 1 additions and 1 deletions

View File

@ -163,7 +163,7 @@
<div class="control-group">
<label class="control-label muted"><%= t("personal_conference.year") %></label>
<div class="controls">
<%= select_year((@writing_conference.year ? @writing_conference.year.to_i : DateTime.now.year), {:start_year => DateTime.now.year, :end_year => 1930}, {:name => 'writing_conference[year]',:class => 'span1'} ) %>
<%= select_year((@writing_conference.year ? @writing_conference.year.to_i : DateTime.now.year), {:start_year => DateTime.now.year, :end_year => 1930, :prompt => "Choose year"}, {:name => 'writing_conference[year]',:class => 'span1'} ) %>
</div>
</div>