Sha256: 79699dfa7e01d43136e0aaa85dd48ceb61619f096be7cd646f2c0cd690bfbcd7
Contents?: true
Size: 503 Bytes
Versions: 5
Compression:
Stored size: 503 Bytes
Contents
.form-inputs - unless @password_only = f.input :email, required: true, :wrapper => :input_span = f.input :password, :wrapper => :input_span = f.input :password_confirmation, :wrapper => :input_span - unless @password_only - for role in Mokio::User::ROLES = check_box_tag "user[roles][#{role}]", role, @user.has_role?(role), {:name => "user[roles][]"} = label_tag "user_roles_#{role}", bt("role_name." + role, Mokio::User) br/ = hidden_field_tag "user[roles][]", ""
Version data entries
5 entries across 5 versions & 1 rubygems