Sha256: ba5a756e3e80ae4e694bb2c4cb3da57cc021f017c764b79b81c9a153fef0948b

Contents?: true

Size: 554 Bytes

Versions: 4

Compression:

Stored size: 554 Bytes

Contents

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

  .field
    = f.label :name
    = f.text_field :name
  .field
    = f.label :email
    = f.text_field :email
  .field
    = f.label :phone
    = f.text_field :phone
  .field
    = f.label :fax
    = f.text_field :fax
  .actions = f.submit 'Save'

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
customer_vault-0.0.4 app/views/customer_vault/corporations/_form.html.slim
customer_vault-0.0.3 app/views/customer_vault/corporations/_form.html.slim
customer_vault-0.0.2 app/views/customer_vault/corporations/_form.html.slim
customer_vault-0.0.1 app/views/customer_vault/corporations/_form.html.slim