Sha256: ed16245d2fab9fdf81ee3823ce507acdb365b399ea3c267f5af23b8ebb999e00

Contents?: true

Size: 430 Bytes

Versions: 59

Compression:

Stored size: 430 Bytes

Contents

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

  .field
    = f.label :subject
    = f.text_field :subject
  .field
    = f.label :forum_id
    = f.text_field :forum_id
  .actions
    = f.submit 'Save'

Version data entries

59 entries across 59 versions & 1 rubygems

Version Path
wheels-0.1.30 app/views/discussions/_form.html.haml
wheels-0.1.28 app/views/discussions/_form.html.haml
wheels-0.1.27 app/views/discussions/_form.html.haml
wheels-0.1.25 app/views/discussions/_form.html.haml
wheels-0.1.24 app/views/discussions/_form.html.haml
wheels-0.1.23 app/views/discussions/_form.html.haml
wheels-0.1.22 app/views/discussions/_form.html.haml
wheels-0.1.21 app/views/discussions/_form.html.haml
wheels-0.1.20 app/views/discussions/_form.html.haml
wheels-0.1.19 app/views/discussions/_form.html.haml
wheels-0.1.18 app/views/discussions/_form.html.haml
wheels-0.1.17 app/views/discussions/_form.html.haml
wheels-0.1.16 app/views/discussions/_form.html.haml
wheels-0.1.15 app/views/discussions/_form.html.haml
wheels-0.1.14 app/views/discussions/_form.html.haml
wheels-0.1.13 app/views/discussions/_form.html.haml
wheels-0.1.12 app/views/discussions/_form.html.haml
wheels-0.1.10 app/views/discussions/_form.html.haml
wheels-0.1.9 app/views/discussions/_form.html.haml
wheels-0.1.8 app/views/discussions/_form.html.haml