Sha256: 693a82fb6ada3db22ccc6f28650f224683e1a4b6dd911f3d44fb04113fe5ca95

Contents?: true

Size: 303 Bytes

Versions: 1

Compression:

Stored size: 303 Bytes

Contents

= f.input :email,         as: 'string'
= f.input :password,      as: 'password'
- for role in User::ROLES
  = check_box_tag "user[roles][#{role}]", role, @user.roles.include?(role), {:name => "user[roles][]"}
  = label_tag "user_roles_#{role}", role.humanize
  %br
= hidden_field_tag "user[roles][]", ""

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
mix-auth-0.4.0 app/views/admix/users/_form_fields.html.haml