Sha256: a1acf97508a213868b42410c487ff74cb9e896583cca3000ec87ba4aa8f5d5e8
Contents?: true
Size: 434 Bytes
Versions: 13
Compression:
Stored size: 434 Bytes
Contents
<% custom_form_for @user, :url => admin_user_path(@user), :html => { :class => 'ajax', :method => :put } do |f| %> <ul class="admin-list checkbox-list"> <% Role.all.each do |role| -%> <li><%= check_box_tag "user[role_ids][]", role.id, @user.has_role?(role.rolename) -%> <%= role.rolename -%></li> <% end -%> </ul> <%= hidden_field_tag :update_roles, true %> <%= f.submit translate('muck.users.save') %> <% end %>
Version data entries
13 entries across 13 versions & 1 rubygems