Sha256: b5a5e7a4bde0b88450205175247c37a31008550728e60aadf148c2b914e5af29

Contents?: true

Size: 672 Bytes

Versions: 9

Compression:

Stored size: 672 Bytes

Contents

= content_for :nav_title do
  = "Edit #{@scoping_rule.scopable} for #{@role.name.titleize}"
section.section
  .columns.is-centered
    .column.is-one-third
      .card
        = render 'layouts/authz/error_messages', object: @role
        .card-content
          = form_for @scoping_rule, url: role_scoping_rule_path(@role, @scoping_rule) do |f|
            .field
              = f.label :keyword, class: 'label'
              .control
                .select = f.select :keyword, options_for_select(@available_keywords, @scoping_rule.keyword), include_blank: 'Select one', required: true

            .field
              = f.submit 'Update', class: 'button is-primary'

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
authz-0.0.5 app/views/authz/scoping_rules/edit.html.slim
authz-0.0.4 app/views/authz/scoping_rules/edit.html.slim
authz-0.0.3 app/views/authz/scoping_rules/edit.html.slim
authz-0.0.2 app/views/authz/scoping_rules/edit.html.slim
authz-0.0.1 app/views/authz/scoping_rules/edit.html.slim
authz-0.0.1.alpha5 app/views/authz/scoping_rules/edit.html.slim
authz-0.0.1.alpha4 app/views/authz/scoping_rules/edit.html.slim
authz-0.0.1.alpha3 app/views/authz/scoping_rules/edit.html.slim
authz-0.0.1.alpha2 app/views/authz/scoping_rules/edit.html.slim