diff options
Diffstat (limited to 'app/views/gantts/show.html.erb')
-rw-r--r-- | app/views/gantts/show.html.erb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/gantts/show.html.erb b/app/views/gantts/show.html.erb index 19d065640..3aece3fd0 100644 --- a/app/views/gantts/show.html.erb +++ b/app/views/gantts/show.html.erb @@ -65,7 +65,7 @@ </p> <p class="buttons"> - <%= text_field_tag 'months', @gantt.months, :size => 2 %> + <%= number_field_tag 'months', @gantt.months, :min => 1, :max => 24, :autocomplete => false %> <%= l(:label_months_from) %> <%= select_month(@gantt.month_from, :prefix => "month", :discard_type => true) %> <%= select_year(@gantt.year_from, :prefix => "year", :discard_type => true) %> |