Sha256: 3e30046e182e80e7c26f2916067b52f9894ec06068c6e7682ffd9acb1b102005
Contents?: true
Size: 351 Bytes
Versions: 18
Compression:
Stored size: 351 Bytes
Contents
= f.input :email, as: 'string' = f.input :password, as: 'password' - User::ROLES.each do |role| .control-group = label_tag "user_roles_#{role}", role.humanize, class: 'control-label' .controls = check_box_tag "user[roles][#{role}]", role, @user.roles.include?(role), {:name => "user[roles][]"} = hidden_field_tag "user[roles][]", ""
Version data entries
18 entries across 18 versions & 2 rubygems