Skip to content

Commit

Permalink
Sort relations in new tie form
Browse files Browse the repository at this point in the history
  • Loading branch information
atd committed Jan 19, 2011
1 parent 7da6b91 commit 4eab8ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/ties/_new.html.erb
Expand Up @@ -14,7 +14,7 @@
<%= f.hidden_field :sender_id %>
<%= f.text_area :message, :class =>"input_new_tie" %>
<%= f.select :relation_name, @tie.sender.relations.map{ |r| [ r.name, r.name ] } %>
<%= f.select :relation_name, @tie.sender.relations.sort.map{ |r| [ r.name, r.name ] } %>

<div class="ties_btn">
<%= submit_tag t('contact.new.submit'), :class => "tie_btn" %>
Expand Down

0 comments on commit 4eab8ca

Please sign in to comment.