Commit 7f3c26b040871e1ec6f7815c96387d44d31b11f6
1 parent
432cfc1c
Exists in
profile_api_improvements
and in
1 other branch
Uses a New button with icon for new circle
Showing
2 changed files
with
5 additions
and
3 deletions
Show diff stats
app/views/blocks/profile_info_actions/_select_circles.html.erb
@@ -8,9 +8,7 @@ | @@ -8,9 +8,7 @@ | ||
8 | <% end %> | 8 | <% end %> |
9 | </div> | 9 | </div> |
10 | 10 | ||
11 | - <a href="#" id="new-circle"> | ||
12 | - <span><%= _("New Circle") %></span> | ||
13 | - </a> | 11 | + <%= button(:add, _('New Circle'), '#', :id => "new-circle") %> |
14 | 12 | ||
15 | <div id="new-circle-form" style="display: none;"> | 13 | <div id="new-circle-form" style="display: none;"> |
16 | <%= labelled_text_field _('Circle name') , 'circle[name]', "",:id => 'text-field-name-new-circle'%> | 14 | <%= labelled_text_field _('Circle name') , 'circle[name]', "",:id => 'text-field-name-new-circle'%> |