Sha256: 757ff2506ff74165801a8e4a10ef8456e13902ebccc14686f35a0e87972382e0

Contents?: true

Size: 1.17 KB

Versions: 7

Compression:

Stored size: 1.17 KB

Contents

<% form_for [:admin, @page] do |f| -%>
  
  <%= f.error_messages %>
 
  <fieldset>
    <%= f.label :url, "URL" %> <%= f.text_field :url %> <em>This can be an existing controller_name/action_name combo, or a completely new URL.</em> <br />
  </fieldset>
 
  <fieldset>
    <%= f.label :title, "Title" %> 
    <%= f.text_field :title %> <br />
  <fieldset>
    <legend>Robots</legend>
    
    <%= f.check_box :noindex %>
    <%= f.label :noindex, "No-Index", :class => 'inline' %>
    
    <%= f.check_box :nofollow %>
    <%= f.label :nofollow, "No-follow", :class => 'inline' %>
    
    <%= f.check_box :enable_canonical %>
    <%= f.label :enable_canonical, "Set Canonical Tag?", :class => 'inline' %>
    
    <%= f.label :canonical, "Canonical URL" %>
    <%= f.text_field :canonical %> <br />
 
 
    <%= f.label :description, "Description" %> <%= f.text_area :description, :class => "small-text" %> <br />
    <%= f.label :keywords, "Keywords" %> <%= f.text_field :keywords %> <br />
  </fieldset>
  
  <fieldset>
    <%= f.label :content, "Content" %> <%= f.text_area :content %> <br />
  </fieldset>
  
  
  <%= f.submit "Save" %> or  <%= link_to "Cancel", admin_pages_path %>
<% end -%>

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
shakespeare-0.3.4 app/views/admin/pages/_form.html.erb
shakespeare-0.3.2 app/views/admin/pages/_form.html.erb
shakespeare-0.3.1 app/views/admin/pages/_form.html.erb
shakespeare-0.3.0 app/views/admin/pages/_form.html.erb
shakespeare-0.2.2 app/views/admin/pages/_form.html.erb
shakespeare-0.2.1 app/views/admin/pages/_form.html.erb
shakespeare-0.2.0 app/views/admin/pages/_form.html.erb