Sha256: 0c46bd20f56f233f246b662616b2c6f8c30616f5b8eef68892dc6669bb193fd1

Contents?: true

Size: 545 Bytes

Versions: 6

Compression:

Stored size: 545 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 :id => "upcomingpage" %>
  <% end %>
  <h3>Published</h3>
<% end %>

<%= ajax_section :id => "page", :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

6 entries across 6 versions & 1 rubygems

Version Path
ajax_pagination-0.6.5 spec/rails_app/app/views/posts/index.html.erb
ajax_pagination-0.6.4 spec/rails_app/app/views/posts/index.html.erb
ajax_pagination-0.6.3 spec/rails_app/app/views/posts/index.html.erb
ajax_pagination-0.6.2 spec/rails_app/app/views/posts/index.html.erb
ajax_pagination-0.6.1 spec/rails_app/app/views/posts/index.html.erb
ajax_pagination-0.6.0 spec/rails_app/app/views/posts/index.html.erb