added choose year
This commit is contained in:
parent
fcc41fe3b2
commit
26abf163fa
|
@ -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>
|
||||
|
||||
|
|
Loading…
Reference in New Issue