Sha256: 42c7bf7e47dd3a379977de4328904d9f63e6ce525787190bd06d0b81bf8521db

Contents?: true

Size: 345 Bytes

Versions: 3

Compression:

Stored size: 345 Bytes

Contents

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

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
nifval-0.2.2 test_app/app/views/nifs/_form.html.haml
nifval-0.2.1 test_app/app/views/nifs/_form.html.haml
nifval-0.2.0 test_app/app/views/nifs/_form.html.haml