Update _form.html.erb start_year plus for publication year selection
This commit is contained in:
parent
7c05f6f741
commit
ae03f63136
|
@ -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, :prompt => "Choose year"}, {:name => 'writing_conference[year]',:class => 'span1'} ) %>
|
||||
<%= select_year((@writing_conference.year ? @writing_conference.year.to_i : DateTime.now.year), {:start_year => (DateTime.now.year + 5), :end_year => 1930, :prompt => "Choose year"}, {:name => 'writing_conference[year]',:class => 'span1'} ) %>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
|
Loading…
Reference in New Issue