Update _form.html.erb publication year start_year plus 5
This commit is contained in:
parent
7f594f05f3
commit
b5f29798d6
|
@ -145,7 +145,7 @@
|
|||
<div class="control-group">
|
||||
<label class="control-label muted"><%= t("personal_journal.year") %></label>
|
||||
<div class="controls">
|
||||
<%= select_year((@journal_paper.year ? @journal_paper.year.to_i : DateTime.now.year), {:start_year => DateTime.now.year, :end_year => 1930}, {:name => 'journal_paper[year]', :class => "span1"} ) %>
|
||||
<%= select_year((@journal_paper.year ? @journal_paper.year.to_i : DateTime.now.year), {:start_year => (DateTime.now.year+5), :end_year => 1930}, {:name => 'journal_paper[year]', :class => "span1"} ) %>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
|
Loading…
Reference in New Issue