forked from saurabh/personal-honor
year fix in honor
This commit is contained in:
parent
8b55567fe6
commit
2a2cb7637c
|
@ -100,7 +100,7 @@
|
||||||
<div class="control-group">
|
<div class="control-group">
|
||||||
<label class="control-label muted"><%= t("personal_honor.year") %></label>
|
<label class="control-label muted"><%= t("personal_honor.year") %></label>
|
||||||
<div class="controls">
|
<div class="controls">
|
||||||
<%= select_year((@honor.year ? @honor.year.to_i : DateTime.now.year), {:start_year => DateTime.now.year, :end_year => 1930}, {:name => 'honor[year]', :class => "span1"} ) %>
|
<%= select_year(@honor.year, {:start_year => DateTime.now.year, :end_year => 1930, :prompt => "Choose year"}, {:name => 'honor[year]', :class => "span1"} ) %>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue