Edit aspect pencil was messed up with the title on the home page

This commit is contained in:
Gonzalo Rodriguez 2011-10-05 22:44:57 -02:00
parent 75aa3f8f97
commit 30a13674e8
2 changed files with 2 additions and 1 deletions

View file

@ -11,7 +11,7 @@
- for aspect in all_aspects
%li{:data => {:aspect_id => aspect.id}, :class => ("active" if params["a_id"].to_i == aspect.id)}
.edit
= link_to image_tag("icons/pencil.svg", :height => 12, :title => t('contacts.index.edit_aspect', :name => aspect.name)), edit_aspect_path(aspect), :rel => "facebox"
= link_to image_tag("icons/pencil.svg", :height => 12, :title => t('.edit_aspect', :name => aspect.name)), edit_aspect_path(aspect), :rel => "facebox"
%a.aspect_selector{:href => aspects_path("a_ids[]" => aspect.id), :class => "aspect_selector name hard_aspect_link", 'data-guid' => aspect.id}
= aspect

View file

@ -120,6 +120,7 @@ en:
or_featured: "Or you can share with %{link}"
featured_users: "featured users"
aspect_listings:
edit_aspect: "Edit %{name}"
add_an_aspect: "+ Add an aspect"
selected_contacts: