Sha256: 49182b5261f58723d1266845799b35fc11da7308faaf6133c8b4e73ab1eb9cc0

Contents?: true

Size: 938 Bytes

Versions: 6

Compression:

Stored size: 938 Bytes

Contents

%div{"data-role" => "menu_mm", "data-theme" => "b", "data-backbtn"=>"false"}
  #article-title= @article.title
  -"seo Keywords"
  -#article-text.ui-corner-all= @article.text
  -#article-text.ui-corner-all
    -Keywords:
    %- @article.keywords
    -description: 
    %- @article.text
  
%div= @article.body.html_safe

= link_to image_tag('pencil.png', style:'border:none; float:none;'), {controller: "mindapp", 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: "/mindapp/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

6 entries across 6 versions & 1 rubygems

Version Path
mindapp2-0.1.1.5 lib/generators/mindapp/templates/app/views/articles/show.html.haml
mindapp2-0.1.1.4 lib/generators/mindapp/templates/app/views/articles/show.html.haml
mindapp2-0.1.1.3 lib/generators/mindapp/templates/app/views/articles/show.html.haml
mindapp2-0.1.1.2 lib/generators/mindapp/templates/app/views/articles/show.html.haml
mindapp2-0.1.1.1 lib/generators/mindapp/templates/app/views/articles/show.html.haml
mindapp2-0.1.0 lib/generators/mindapp/templates/app/views/articles/show.html.haml