Commit 7f3c26b040871e1ec6f7815c96387d44d31b11f6

Authored by Larissa Reis
1 parent 432cfc1c

Uses a New button with icon for new circle

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'%>
public/stylesheets/profile.scss
@@ -44,3 +44,7 @@ @@ -44,3 +44,7 @@
44 text-align: left; 44 text-align: left;
45 margin-left: 15%; 45 margin-left: 15%;
46 } 46 }
  47 +
  48 +#circles-checkboxes .circle:last-child {
  49 + margin-bottom: 10px;
  50 +}