_relation_list.html.haml revision 01c96f4143b5cdda0d62a8ca63ed730d0b58de24
.relationList{ relation_list.to_data.merge('data-uri' => url_for(relation_list.collection_path)) }
%ul
= render :collection => relation_list.collection, :partial => relation_list.relation_partial_path, :locals => {:relation_list => relation_list}
= render :partial => relation_list.form_path
%form.add
= text_field_tag :name, nil, :class => 'autocomplete', :placeholder => relation_list.t(:placeholder)
%button.help{:title => relation_list.t(:help) } ?