= form_for(@application) do |f| - if @application.errors.any? #error_explanation %h2 = pluralize(@application.errors.count, "error") prohibited this application from being saved: %ul - @application.errors.full_messages.each do |msg| %li = msg .field = f.label :name %br = f.text_field :name .field = f.label :key %br = f.text_field :key .field = f.label :description %br = f.text_field :description .actions = f.submit