Commit 3bad06033f193661b5f352ae7f8d122f61292fe8
Committed by
Antonio Terceiro
1 parent
0012e836
Exists in
master
and in
28 other branches
Adding a class to tags field while adding a friend
Showing
2 changed files
with
2 additions
and
2 deletions
Show diff stats
app/views/friends/add.rhtml
... | ... | @@ -13,7 +13,7 @@ |
13 | 13 | <% form_tag do %> |
14 | 14 | <%= hidden_field_tag(:confirmation, 1) %> |
15 | 15 | |
16 | - <div> | |
16 | + <div class="add-friend-tags"> | |
17 | 17 | <%= __('Classify your new friend %s: ') % @friend.name %> |
18 | 18 | <%= text_field_with_local_autocomplete('group', profile.suggested_friend_groups, :maxlength => 150) %> |
19 | 19 | <p> | ... | ... |
app/views/tasks/_add_friend.rhtml
... | ... | @@ -21,7 +21,7 @@ |
21 | 21 | :onclick => "Element.hide('group-for-friend-#{task.id}')") %> |
22 | 22 | <label for="<%= "decision-cancel-#{task.id}" %>"><b><%= _('Ignore') %></b></label> |
23 | 23 | |
24 | - <% content_tag('div', :id => "group-for-friend-#{task.id}") do %> | |
24 | + <% content_tag('div', :id => "group-for-friend-#{task.id}", :class => "add-friend-tags") do %> | |
25 | 25 | <%= _('Classify your new friend:') %> |
26 | 26 | <%= text_field_with_local_autocomplete("task[group_for_friend]", |
27 | 27 | profile.suggested_friend_groups, | ... | ... |