Sha256: 5ce8c893f531a5b22f58cdb9b709ee9803f8d4e9db54e02ef6234878bbfe92fb

Contents?: true

Size: 435 Bytes

Versions: 1

Compression:

Stored size: 435 Bytes

Contents

%h1= t('.Listing_posts')

%table
  %tr
    %th= t('.Title')
    %th= t('.Content')
    %th= t('.test')
    %th
    %th

  - @posts.each do |post|
    %tr
      %td= post.title
      %td= post.content
      %td= link_to 'Show', post
      %td= link_to 'Edit', edit_post_path(post)
      %td= link_to 'Destroy', post, method: :delete, data: { confirm: 'Are you sure?' }

%br
= t('.testing_new_keys')

= link_to 'New Post', new_post_path

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
translation_center-1.0.2 test/dummy/app/views/posts/index.html.haml