Sha256: 4ccec5777f4bef558c634613e362ffce301d82d4162cf1d525bd8deac282dc92
Contents?: true
Size: 1.52 KB
Versions: 6
Compression:
Stored size: 1.52 KB
Contents
<h1>Administration: Edit Pages</h1> <br/><br/> <%= form_for [:admin, @page] do |f| %> <% if @page.errors.any? %> <div id="error_explanation"> <h2><%= pluralize(@page.errors.count, "error") %> prohibited this page from being saved:</h2> <ul> <% @page.errors.full_messages.each do |msg| %> <li><%= msg %></li> <% end %> </ul> </div> <% end %> <p><%= f.submit %></p> <br/> <table width="900" border="0" cellspacing="15" cellpadding="0"> <tr> <td width="150"><strong><%= f.label :title %><br /> </strong></td> <td width="300"> <%= f.text_field :title %></td> <td width="150"><strong> <%= f.label :permalink %><br /> </strong></td> <td width="300"> <%= f.text_field :permalink %></td> </tr> <tr> <td width="350"> <strong><%= f.label :position %> </strong></td> <td width="500"> <%= f.number_field :position %></td> </tr> <tr> <td width="350"> <strong><%= f.label :show_title %> </strong></td> <td width="500"> <%= f.check_box :show_title %></td> </tr> <tr> <td width="150"><strong><%= f.label :parent_id, "Parent Page" %> </strong></td> <td width="300"> <%= f.select :parent_id, nested_set_options(QuicCms::Page, @page) {|i, level| "#{'-' * level} #{i.title}" } , :include_blank => true%></td> </tr> <tr> <td width="150" valign="top"> <strong> <%= f.label :content %> </strong></td> <td colspan="3"> <%= f.cktext_area :content %></td> </tr> </table> <p><%= f.submit %></p> <br/> <% end %>
Version data entries
6 entries across 6 versions & 1 rubygems