Sha256: dec3fadac0e8d4ed52b881f23c3dc62a4c975d4c0005df89157e7253c7334189

Contents?: true

Size: 861 Bytes

Versions: 3

Compression:

Stored size: 861 Bytes

Contents

.form-group
  label for="email" = Kms::User.human_attribute_name(:email)
  input#email.form-control type="email" ng-model="user.email" required=""
.form-group
  label for="password" = Kms::User.human_attribute_name(:password)
  input#password.form-control type="password" ng-model="user.password" ng-attr-required="{{user.id ? undefined : ''}}"
.form-group
  label for="password_confirmation" = Kms::User.human_attribute_name(:password_confirmation)
  input#password_confirmation.form-control type="password" ng-model="user.password_confirmation" ng-attr-required="{{user.id ? undefined : ''}}"
.form-group
  label for="role" = Kms::User.human_attribute_name(:role)
  select#role.form-control ng-model="user.role" required=""
    - Kms::User::ROLES.each do |role|
      option value=role.to_s = I18n.t("roles.#{role.to_s}")
  small = I18n.t(:roles_description)

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
kms-1.2.1 app/assets/javascripts/templates/users/form.html.slim
kms-1.2.0 app/assets/javascripts/templates/users/form.html.slim
kms-1.1.0 app/assets/javascripts/templates/users/form.html.slim