Home

Pages Classes Methods

    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 table.comment %h3 Comentarios
      comments

      = render :partial =>'comments/post', :locals=>{:@post=>table.comment.posts}

      %br

      • if !table.comment.open comentario cerrados -if can? :abrir, table.comment

        = link_to 'Abrir',{:controller=>'comments',:id=> table.comment.id, :action =>'open'}  
        %br
        = link_to 'Quitar comentarios',{:controller=>'comments',:id=> table.comment.id, :action =>'remove'}
      • else -if can? :cerrar,table.comment

        = link_to 'Cerrar',{:controller=>'comments',:id=> table.comment.id, :action =>'close'}

        -if can? :new, Post

        = render :partial => "comments/form", :locals=>{:table=>table}
    • else no hay comentarios

      link_to ‘Habilitar comentarios’, “/comments/new?type=#{table.class}&id=#{table.id}” ¶ ↑

    Validate

    Generated by RDoc 6.4.0.

    Based on Darkfish by Michael Granger.