Home

Pages Classes Methods

    Table of Contents

    • p.hidden_field :comment_id,:value=>table.comment.id
    • p.text_area(:body,:class=>‘wysiwyg’)
    • wysiwug
    • p.submit

    Pages

    • LICENSE
    • README
    • README
    • Gemfile
    • README
    • USAGE
    • Gemfile
    • _entry.haml
    • _form.html.haml
    • edit.html.haml
    • index.html.haml
    • new.html.haml
    • show.html.haml
    • _form.html.haml
    • _index.html.haml
    • _post.html.haml
    • _post2.haml
    • edit.haml
    • _form.html.haml
    • edit.html.haml
    • index.html.haml
    • new.html.haml
    • show.html.haml
    • _footer.html.haml
    • _header.html.haml
    • _ice.haml
    • _latest.haml
    • _login.html.haml
    • _menu.html.haml
    • _msn.haml
    • _sidebar.html.haml
    • application.html.haml
    • _ice.haml
    • _form.html.haml
    • edit.html.haml
    • index.html.haml
    • new.html.haml
    • show.html.haml
    • _form.html.haml
    • edit.html.haml
    • index.html.haml
    • new.html.haml
    • show.html.haml
    • _form.html.haml
    • edit.html.haml
    • index.html.haml
    • new.html.haml
    • show.html.haml
    • _form.html.haml
    • index.html.haml
    • show.html.haml
    • index.haml
    • roles.haml
    • _ice.haml
    • _ice.haml
    • _ice.haml
    • _ice.haml
    • squeezer.css
    • application.js
    • jquery-ui.js
    • jquery-ui.min.js
    • jquery.cleditor.min.js
    • jquery.js
    • jquery.layout.min-1.2.0.js
    • jquery.min.js
    • rails.js
    • jquery.cleditor.css
    • _ice.haml
    • lagota.css
    • _ice.haml
    • _ice.haml
    • _ice.haml
    • _ice.haml
    • squeezer.css
    • jquery-ui-1.8.5.custom.css
    • if can? :new, Post

      • form_for Post.new do |p|

        • if Post.new.errors.any? error_explanation

          %h2=pluralize(@post.errors.count, "error") 
          prohibited this post from being saved:
          %ul
            - @post.errors.full_messages.each do |msg|
              %li=msg

        p.hidden_field :comment_id,:value=>table.comment.id ¶ ↑

        -if !current_user

        Nombre
        %br
        =p.text_field :name
        %br

        p.text_area(:body,:class=>‘wysiwyg’)¶ ↑

        wysiwug¶ ↑

        %br

        p.submit¶ ↑

    Validate

    Generated by RDoc 6.4.0.

    Based on Darkfish by Michael Granger.