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