Sha256: 8a829046b7bfa158e4e46ddfdaf02c912a1e28055fbc5fa1347d765c90c09aab
Contents?: true
Size: 388 Bytes
Versions: 4
Compression:
Stored size: 388 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> <%= f.submit translate('muck.users.save') %> <% end %>
Version data entries
4 entries across 4 versions & 1 rubygems