Change year from current year to current year plus 5.
This commit is contained in:
parent
931171e25e
commit
004926ce87
|
@ -146,7 +146,7 @@
|
||||||
<div class="control-group">
|
<div class="control-group">
|
||||||
<label class="control-label muted"><%= t("personal_course.year") %></label>
|
<label class="control-label muted"><%= t("personal_course.year") %></label>
|
||||||
<div class="controls">
|
<div class="controls">
|
||||||
<%= select_year((@course.year ? @course.year.to_i : DateTime.now.year), {:start_year => DateTime.now.year, :end_year => 1930}, {:name => 'course[year]',:class => 'span1'} ) %>
|
<%= select_year((@course.year ? @course.year.to_i : DateTime.now.year), {:start_year => DateTime.now.year + 5, :end_year => 1930}, {:name => 'course[year]',:class => 'span1'} ) %>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue