Sha256: 5b01cf3d51c43f47e9a34026d9e335246bf87a30bb74cfd9b35cdd1a49ca0135

Contents?: true

Size: 387 Bytes

Versions: 9

Compression:

Stored size: 387 Bytes

Contents

= form_for [dorsale, @address] do |f|
  - if @address.errors.any?
    #error_explanation
      h2 = "#{pluralize(@address.errors.count, "error")} prohibited this address from being saved:"
      ul
        - @address.errors.full_messages.each do |message|
          li = message
  
  = render partial: 'dorsale/addresses/nested_form', :locals => {:f => f}
 
  .actions = f.submit 'Save'

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
dorsale-1.1.4 app/views/dorsale/addresses/_form.html.slim
dorsale-1.1.3 app/views/dorsale/addresses/_form.html.slim
dorsale-1.1.2 app/views/dorsale/addresses/_form.html.slim
dorsale-1.1.1 app/views/dorsale/addresses/_form.html.slim
dorsale-1.1.0 app/views/dorsale/addresses/_form.html.slim
dorsale-1.0.4 app/views/dorsale/addresses/_form.html.slim
dorsale-1.0.3 app/views/dorsale/addresses/_form.html.slim
dorsale-1.0.2 app/views/dorsale/addresses/_form.html.slim
dorsale-1.0.1 app/views/dorsale/addresses/_form.html.slim