rename aspect on the aspect show page

This commit is contained in:
zhitomirskiyi 2010-12-15 14:15:07 -08:00
parent 9555fae33d
commit 4256ea34b6

View file

@ -12,6 +12,11 @@
= render 'shared/add_contact', :aspect_id => aspect.id = 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 %hr
.big_buttons .big_buttons
= button_to t('.remove_aspect'), aspect, :method => "delete", :confirm => t('.confirm_remove_aspect') = button_to t('.remove_aspect'), aspect, :method => "delete", :confirm => t('.confirm_remove_aspect')