Sha256: 1dd35db1b2d1375634096986bf1b82fcf5e61bed8026880d6f4ed6a1b9115512
Contents?: true
Size: 871 Bytes
Versions: 5
Compression:
Stored size: 871 Bytes
Contents
- title @article.title - description @article.text - keywords @article.keywords = link_to image_tag('pencil.png', style:'border:none; float:right;', id: 'article_pen'), {controller: "articles", action: "edit", article_id: @article.id}, data: { confirm: "Please Confirm" } %div{"data-role" => "menu_mm", "data-theme" => "b", "data-backbtn"=>"false"} #article-title= @article.title #article-text= @article.body.html_safe - @comments.each do |comment| %div#article-comment.ui-corner-all Author: %b= comment.user.code if comment.user %div#comment-body %i= comment.body -# - if login? %h3 Add a comment: = form_for([@comment, @article.comments.build]) do |f| = f.hidden_field :article_id, :value => @article.id = f.label :body, "Comment" = f.text_area :body = f.hidden_field :user_id, :value => current_ma_user = f.submit
Version data entries
5 entries across 5 versions & 2 rubygems