Sha256: c47a29cf04f2c9d34fb355b732a0c5af4827ae1e8610a339bccfb9d138729f4d
Contents?: true
Size: 623 Bytes
Versions: 21
Compression:
Stored size: 623 Bytes
Contents
%h1 Listing articles = number_to_currency(10) %table %tr %th= t('.title') %th= t('.content') %th %th %th - @articles.each do |article| %tr %td= article.title %td= article.content %td= link_to 'Show', article %td= link_to 'Edit', edit_article_path(article) %td= link_to 'Destroy', article, :method => :delete, :data => { :confirm => 'Are you sure?' } %br = link_to 'New Article', new_article_path #test_content test ajax content = link_to 'test ajax', '#', id: :test_ajax :javascript $('#test_ajax').click(function(){ $('#test_content').load('/') })
Version data entries
21 entries across 21 versions & 2 rubygems