Sha256: b4a6f176d92c00a9f090b7fc465f8bc18445f607868306e04cdb30862146ef96
Contents?: true
Size: 538 Bytes
Versions: 2
Compression:
Stored size: 538 Bytes
Contents
<%= render :partial => 'left' %> <h1 class="pages icon">Pages</h1> <% if @pages.empty? -%> <div class="inset"> <h2>You haven't created any pages!</h2> <b class="grey">Get started:</b> <%= button_link_to('Add a Page', new_grandstand_page_path, :icon => 'add') %> </div> <% else -%> <table class="grid"> <thead> <tr> <th>Name</th> <th colspan="2">URL</th> </tr> </thead> <tbody> <%= render :partial => 'row', :collection => @pages, :as => :page, :locals => {:indent => 0} %> </tbody> </table> <% end -%>
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
grandstand-0.2.7 | app/views/grandstand/pages/index.html.erb |
grandstand-0.2.6 | app/views/grandstand/pages/index.html.erb |