Sha256: 32cb89ef08362936314ebc5ea7f6f767e0e1d35c79d4782dc92b536cf753a364

Contents?: true

Size: 549 Bytes

Versions: 42

Compression:

Stored size: 549 Bytes

Contents

- include_ckeditor

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

  .field
    .fieldTitle Title
    = f.text_field :title
  .field
    .fieldTitle Body
    = f.text_area :body, :class=>'ckeditor_textarea'
  .field
    .fieldTitle Tags:
    .tag_list= f.text_field :tag_list
  .actions
    = f.submit 'Save'

Version data entries

42 entries across 42 versions & 1 rubygems

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