From 4256ea34b6e0f99227f44ca0308ff2516514dc82 Mon Sep 17 00:00:00 2001 From: zhitomirskiyi Date: Wed, 15 Dec 2010 14:15:07 -0800 Subject: [PATCH] rename aspect on the aspect show page --- app/views/aspects/_edit_aspect_pane.html.haml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/app/views/aspects/_edit_aspect_pane.html.haml b/app/views/aspects/_edit_aspect_pane.html.haml index f05410c0a..e4cbb429d 100644 --- a/app/views/aspects/_edit_aspect_pane.html.haml +++ b/app/views/aspects/_edit_aspect_pane.html.haml @@ -12,6 +12,11 @@ = render 'shared/add_contact', :aspect_id => aspect.id + %hr + = form_for aspect do |asp| + = asp.text_field :name, :value => aspect.name + = asp.submit "Rename Aspect" + %hr .big_buttons = button_to t('.remove_aspect'), aspect, :method => "delete", :confirm => t('.confirm_remove_aspect')