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.7 app/views/blogs/_form.html.haml
wheels-0.1.6 app/views/blogs/_form.html.haml
wheels-0.1.5 app/views/blogs/_form.html.haml
wheels-0.1.4 app/views/blogs/_form.html.haml
wheels-0.1.3 app/views/blogs/_form.html.haml
wheels-0.1.2 app/views/blogs/_form.html.haml
wheels-0.1.1 app/views/blogs/_form.html.haml
wheels-0.1.0 app/views/blogs/_form.html.haml
wheels-0.0.49 app/views/blogs/_form.html.haml
wheels-0.0.48 app/views/blogs/_form.html.haml
wheels-0.0.47 app/views/blogs/_form.html.haml
wheels-0.0.46 app/views/blogs/_form.html.haml
wheels-0.0.45 app/views/blogs/_form.html.haml
wheels-0.0.44 app/views/blogs/_form.html.haml
wheels-0.0.43 app/views/blogs/_form.html.haml
wheels-0.0.42 app/views/blogs/_form.html.haml
wheels-0.0.41 app/views/blogs/_form.html.haml
wheels-0.0.40 app/views/blogs/_form.html.haml
wheels-0.0.39 app/views/blogs/_form.html.haml
wheels-0.0.38 app/views/blogs/_form.html.haml