diff --git a/app/views/admin/honors/_form.html.erb b/app/views/admin/honors/_form.html.erb index 9cb151f..626ae15 100644 --- a/app/views/admin/honors/_form.html.erb +++ b/app/views/admin/honors/_form.html.erb @@ -100,7 +100,7 @@
- <%= 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"} ) %>