Sha256: 54ad481ec3db8ff23bf8006513efe9d40f6cd73c044e78501c58f8911ffacb91
Contents?: true
Size: 1.11 KB
Versions: 2
Compression:
Stored size: 1.11 KB
Contents
<!DOCTYPE html> <html> <head> <title>RailsApp</title> <%= stylesheet_link_tag "application", :media => "all" %> <%= javascript_include_tag "application" %> <%= csrf_meta_tags %> </head> <body> <div style="float: right;"> <% if session[:admin] %> <%= link_to "Sign out", sessions_signout_url, :id => "signout" %> <% else %> <%= link_to "Sign in as admin", sessions_signin_url, :id => "signin" %> <% end %> </div> <h1>AJAX Pagination Example Application</h1> <div class="ajaxpagination menu" data-pagination="menu"> <ul> <li><%= link_to "Home", root_url %></li> <li><%= link_to "Posts", posts_url %></li> <li><%= link_to "Changelog", changelog_url %></li> <li><%= link_to "Readme", pages_readme_url %></li> <li><%= link_to "About", pages_about_url %></li> </ul> </div> <%= ajax_pagination :pagination => "menu", :reload => {:urlpart => "path", :urlregex => "^.*$"}, :loadzone => true do %> <% if flash[:notice] %> <p id="notice"><%= flash[:notice] %></p> <% end %> <% if flash[:alert] %> <p id="alert"><%= flash[:alert] %></p> <% end %> <%= yield %> <% end %> </body> </html>
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
ajax_pagination-0.2.0 | spec/rails_app/app/views/layouts/application.html.erb |
ajax_pagination-0.1.0 | spec/rails_app/app/views/layouts/application.html.erb |