Sha256: f26d8dbd303fbb53384c324b1755f8a77c22063c317dcf9a0775015d52afb342
Contents?: true
Size: 847 Bytes
Versions: 64
Compression:
Stored size: 847 Bytes
Contents
- title @article.title - description @article.text - keywords @article.keywords %div{"data-role" => "menu_mm", "data-theme" => "b", "data-backbtn"=>"false"} #article-title= @article.title #article-text= @article.body.html_safe = link_to image_tag('pencil.png', style:'border:none; float:none;'), {controller: "jinda", action: "init", s: 'articles:xedit_article', article_id: @article.id}, data: { confirm: "Please Confirm" } - @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 @article.comments.build, url: "/jinda/init?s=comments:new_comment" do |f| = f.hidden_field :article_id, :value => @article.id = f.label :body, "Comment" = f.text_area :body = f.submit
Version data entries
64 entries across 64 versions & 3 rubygems