From c0056675be638302130a6f1f82c1c956c388873b Mon Sep 17 00:00:00 2001 From: Dan Rice Date: Fri, 30 Nov 2012 23:14:36 -0500 Subject: [PATCH] Fix tab order when creating monthly recurring actions Fixes #1366 --- app/views/recurring_todos/_recurring_todo_form.html.erb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/app/views/recurring_todos/_recurring_todo_form.html.erb b/app/views/recurring_todos/_recurring_todo_form.html.erb index faee8b8b..ce11d23b 100644 --- a/app/views/recurring_todos/_recurring_todo_form.html.erb +++ b/app/views/recurring_todos/_recurring_todo_form.html.erb @@ -60,11 +60,11 @@
<%= radio_button_tag('recurring_todo[monthly_selector]', 'monthly_every_x_day', true, {:tabindex => next_tab_index})%> <%= raw t('todos.recurrence.day_x_on_every_x_month', :day => text_field_tag('recurring_todo[monthly_every_x_day]', Time.zone.now.mday, {"size" => 3, "tabindex" => next_tab_index}), - :month => text_field_tag('recurring_todo[monthly_every_x_month]', 1, {"size" => 3, "tabindex" => 10})) %>
+ :month => text_field_tag('recurring_todo[monthly_every_x_month]', 1, {"size" => 3, "tabindex" => next_tab_index})) %>
<%= radio_button_tag('recurring_todo[monthly_selector]', 'monthly_every_xth_day')%> <%= raw t('todos.recurrence.monthly_every_xth_day', - :day => select_tag('recurring_todo[monthly_every_xth_day]', options_for_select(@xth_day), {}), - :day_of_week => select_tag('recurring_todo[monthly_day_of_week]' , options_for_select(@days_of_week, Time.zone.now.wday), {}), - :month => text_field_tag('recurring_todo[monthly_every_x_month2]', 1, {"size" => 3, "tabindex" => 11})) %>
+ :day => select_tag('recurring_todo[monthly_every_xth_day]', options_for_select(@xth_day), {:tabindex => next_tab_index}), + :day_of_week => select_tag('recurring_todo[monthly_day_of_week]' , options_for_select(@days_of_week, Time.zone.now.wday), {:tabindex => next_tab_index}), + :month => text_field_tag('recurring_todo[monthly_every_x_month2]', 1, {"size" => 3, "tabindex" => next_tab_index})) %>