Sha256: b7acb6d5acef358efb9fe773390d83908b88b2116de08b40dc2dfb2cbf82e58e

Contents?: true

Size: 446 Bytes

Versions: 10

Compression:

Stored size: 446 Bytes

Contents

= form_for @clearance do |f|
  - if @clearance.errors.any?
    #error_explanation
      h2 = "#{pluralize(@clearance.errors.count, "error")} prohibited this clearance from being saved:"
      ul
        - @clearance.errors.full_messages.each do |message|
          li = message

  .field
    = f.label :level
    = f.select :level, [1,2]
  .field
    = f.label :name
    = f.text_field :name
  .actions = f.submit "Save", class: "button success"

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
authz-0.0.5 spec/dummy/app/views/clearances/_form.html.slim
authz-0.0.4 spec/dummy/app/views/clearances/_form.html.slim
authz-0.0.3 spec/dummy/app/views/clearances/_form.html.slim
authz-0.0.2 spec/dummy/app/views/clearances/_form.html.slim
authz-0.0.1 spec/dummy/app/views/clearances/_form.html.slim
authz-0.0.1.alpha5 spec/dummy/app/views/clearances/_form.html.slim
authz-0.0.1.alpha4 spec/dummy/app/views/clearances/_form.html.slim
authz-0.0.1.alpha3 spec/dummy/app/views/clearances/_form.html.slim
authz-0.0.1.alpha2 spec/dummy/app/views/clearances/_form.html.slim
authz-0.0.1.alpha spec/dummy/app/views/clearances/_form.html.slim