Sha256: 56066c342a1572705b2f4af54ab2e904c61e54efc29616239061a4129a227067

Contents?: true

Size: 510 Bytes

Versions: 3

Compression:

Stored size: 510 Bytes

Contents

%table.table
  %caption Your Posts
  %thead
    %tr
      %th Post Title
      %th= link_to "New Post <i class='glyphicon glyphicon-plus'></i>".html_safe, new_site_post_path, class: 'btn btn-primary'
  %tbody
    - @posts.each do |post|
      %tr
        %th{:scope => "row"}= post.title
        %td
          = link_to(edit_site_post_path(@site, post), class: 'btn btn-default') do
            %span.glyphicon.glyphicon-pencil{"aria-hidden" => "true"}
            Edit Post
= paginate @posts, :remote => true

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
statixite-1.0.2 app/views/statixite/posts/_posts.html.haml
statixite-1.0.1 app/views/statixite/posts/_posts.html.haml
statixite-1.0.0 app/views/statixite/posts/_posts.html.haml