Sha256: 54f6c4173cf1a9a9e44c28d4dccb944bc692812356c700c1ecd7777ccd1baa09

Contents?: true

Size: 538 Bytes

Versions: 2

Compression:

Stored size: 538 Bytes

Contents

<h2 id="postspagetitle">Posts</h2>

<% if session[:admin] %>
  <%= content_tag :div, :style => "border: 1px solid blue; background-color: rgba(0,0,255,0.1); padding-left: 40px; padding-right: 40px;" do %>
    <h3>Upcoming</h3>
    <%= ajax_section :pagination => "upcomingpage" %>
  <% end %>
  <h3>Published</h3>
<% end %>

<%= ajax_section :image => "ajax-loader.gif" %>

<br />

<%= ajax_link_to 'New Post', new_post_path %><!-- This link is intentionally unsecured, so non-admins will get a redirection to an "access denied" page -->

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ajax_pagination-0.5.1 spec/rails_app/app/views/posts/index.html.erb
ajax_pagination-0.5.0 spec/rails_app/app/views/posts/index.html.erb