From 3dc6b02c17bdf531c5ef72fe170f1e6f30de2b54 Mon Sep 17 00:00:00 2001 From: Reinier Balt Date: Wed, 23 Jul 2008 23:49:10 +0200 Subject: [PATCH] fixed error where completed container could not be selected because of naming inconsistency --- .../recurring_todos/_recurring_todo_form.erb | 18 +++++++++--------- app/views/todos/_completed.rhtml | 2 +- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/app/views/recurring_todos/_recurring_todo_form.erb b/app/views/recurring_todos/_recurring_todo_form.erb index f6c1fc4e..5fb99272 100644 --- a/app/views/recurring_todos/_recurring_todo_form.erb +++ b/app/views/recurring_todos/_recurring_todo_form.erb @@ -12,10 +12,8 @@
<%= text_field_tag( "recurring_todo[description]", "", "size" => 30, "tabindex" => 1) -%> - <%= text_area_tag( "recurring_todo[notes]", nil, {:cols => 29, :rows => 6, :tabindex => 2}) -%> - @@ -63,13 +61,15 @@
-
- <%= radio_button_tag('recurring_todo[recurring_period]', 'daily', true)%> Daily
- <%= radio_button_tag('recurring_todo[recurring_period]', 'weekly')%> Weekly
- <%= radio_button_tag('recurring_todo[recurring_period]', 'monthly')%> Monthly
- <%= radio_button_tag('recurring_todo[recurring_period]', 'yearly')%> Yearly
- <% apply_behaviour "#recurring_period_id:click", - "TracksForm.hide_all_recurring(); $('recurring_'+TracksForm.get_period()).show();" %> +
+
+ <%= radio_button_tag('recurring_todo[recurring_period]', 'daily', true)%> Daily
+ <%= radio_button_tag('recurring_todo[recurring_period]', 'weekly')%> Weekly
+ <%= radio_button_tag('recurring_todo[recurring_period]', 'monthly')%> Monthly
+ <%= radio_button_tag('recurring_todo[recurring_period]', 'yearly')%> Yearly
+ <% apply_behaviour "#recurring_period:click", + "TracksForm.hide_all_recurring(); $('recurring_'+TracksForm.get_period()).show();" %> +

<%= diff --git a/app/views/todos/_completed.rhtml b/app/views/todos/_completed.rhtml index e2a1f962..60b864e0 100644 --- a/app/views/todos/_completed.rhtml +++ b/app/views/todos/_completed.rhtml @@ -9,7 +9,7 @@ <% end %> Completed actions <%= suffix %> -
+

Currently there are no completed actions.