forked from bofh/fetsite
AutoCommit Don Sep 3 11:03:01 CEST 2015
This commit is contained in:
@@ -67,7 +67,7 @@ end
|
||||
</div>
|
||||
<% if can?(:edit, @fetprofile) %>
|
||||
<div>
|
||||
<span class="btn-group">
|
||||
<span>
|
||||
<%= link_to ff_icon("icon-pencil")+I18n.t('common.edit'), edit_fetprofile_path(@fetprofile) if can?(:edit, @fetprofile) %>
|
||||
<%= link_to fa_icon("trash")+I18n.t('common.delete'), fetprofile_path(@fetprofile),method: :delete, data: { confirm: "Are you sure?" } if can?(:delete, @fetprofile) %>
|
||||
</span>
|
||||
|
||||
@@ -33,7 +33,7 @@
|
||||
</td>
|
||||
<td>
|
||||
<%= semantic_fields_for "users[#{user.id}]", user do |f|%>
|
||||
<%= f.input :fetprofile ,:label=>false , :as=>:select , :collection=>Fetprofile.all %>
|
||||
<%= f.input :fetprofile ,:label=>false , :as=>:select , :collection=>Fetprofile.order(:vorname,:nachname) %>
|
||||
|
||||
<% end %>
|
||||
</td>
|
||||
|
||||
Reference in New Issue
Block a user