Sha256: 6e09d756571903505e4028b5e28a9b8365918cae18525a0896440cce915fddd5
Contents?: true
Size: 888 Bytes
Versions: 151
Compression:
Stored size: 888 Bytes
Contents
- @title= "My Articles" %p - @page_title = 'All Articlces' = paginate @articles %table#article-table %tr %th Title %th Description %th Created %th Updated %th Delete %th Edit - @articles.each do |article| %tr %td= link_to article.title, :controller=>"articles", :action=>"show", :id=>article.id %td= article.text.html_safe %td= article.created_at.strftime('%m/%d/%Y') %td= article.updated_at.strftime('%m/%d/%Y') %td(align='center')= link_to image_tag('delete.png', style:'border:none; float:none;'), "#", :onclick=>"if (confirm('Please Confirm')) {location.hash='/articles/destroy/#{article.id}';}" %td(align='center')= 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" }
Version data entries
151 entries across 81 versions & 4 rubygems