Sha256: 36344c390900e2e2ea6bf5a8c448a4a7f897b2a85a3fafd344fee63ed2757945

Contents?: true

Size: 459 Bytes

Versions: 1

Compression:

Stored size: 459 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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
translation_center-1.6.1 test/dummy/app/views/articles/index.html.haml