Sha256: e82ca6b662a66631e3808ba3769f7446bc43421a4d4036b35b5ed5a1e1bd3c3b

Contents?: true

Size: 330 Bytes

Versions: 10

Compression:

Stored size: 330 Bytes

Contents

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

  .field
    = f.label :name
    = f.text_field :name
  .actions = f.submit

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
authz-0.0.5 spec/dummy/app/views/cities/_form.html.slim
authz-0.0.4 spec/dummy/app/views/cities/_form.html.slim
authz-0.0.3 spec/dummy/app/views/cities/_form.html.slim
authz-0.0.2 spec/dummy/app/views/cities/_form.html.slim
authz-0.0.1 spec/dummy/app/views/cities/_form.html.slim
authz-0.0.1.alpha5 spec/dummy/app/views/cities/_form.html.slim
authz-0.0.1.alpha4 spec/dummy/app/views/cities/_form.html.slim
authz-0.0.1.alpha3 spec/dummy/app/views/cities/_form.html.slim
authz-0.0.1.alpha2 spec/dummy/app/views/cities/_form.html.slim
authz-0.0.1.alpha spec/dummy/app/views/cities/_form.html.slim