Sha256: a53f43a2269ff6395e3f3c47d02bddf274080cc0684e57caf6dec16cb8e64761

Contents?: true

Size: 344 Bytes

Versions: 6

Compression:

Stored size: 344 Bytes

Contents

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

  .field
    = f.label :text
    = f.text_area :text
  .actions = f.submit

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
Xwitter-0.4.0 app/views/messages/_form.html.slim
Xwitter-0.3.0.1 app/views/messages/_form.html.slim
Xwitter-0.2.2 app/views/messages/_form.html.slim
Xwitter-0.2.1 app/views/messages/_form.html.slim
Xwitter-0.2.0 app/views/messages/_form.html.slim
Xwitter-0.1.0 app/views/messages/_form.html.slim