From ce375e1637ea9cd193b2e6099613bb3009fd5efa Mon Sep 17 00:00:00 2001 From: Benjamin Meichsner Date: Tue, 4 Aug 2009 12:57:19 +0200 Subject: [PATCH] Fixed bad link in tasks/workgroups. Closes #23 --- app/views/shared/_group_form.html.haml | 2 +- app/views/tasks/workgroup.haml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/shared/_group_form.html.haml b/app/views/shared/_group_form.html.haml index 37e89c44..c5d71beb 100644 --- a/app/views/shared/_group_form.html.haml +++ b/app/views/shared/_group_form.html.haml @@ -34,7 +34,7 @@ %tr %td = @form.label :task_description, "Beschreibung:" - %td= @form.text_area :task_description + %td= @form.text_area :task_description, :size => "30x10" %script{ 'type' => "text/javascript"} :plain diff --git a/app/views/tasks/workgroup.haml b/app/views/tasks/workgroup.haml index abc5aea6..46ffbfd5 100644 --- a/app/views/tasks/workgroup.haml +++ b/app/views/tasks/workgroup.haml @@ -46,7 +46,7 @@ - else Noch keine Wochenaufgaben angelegt. - if @current_user.member_of?(@group) or @current_user.role_admin? - = link_to "Wochenaufgaben bearbeiten", :controller => "foodcoop", :action => "edit_group", :id => @group + = link_to "Wochenaufgaben bearbeiten", edit_foodcoop_workgroup_path(@group) .left_column{:style => "width:75%"} .box_title