Sha256: 5842eb1c509f3b0d4e4b51799502ffaa18d57c47866be6b7ab2edd5c016ea82f
Contents?: true
Size: 1.23 KB
Versions: 5
Compression:
Stored size: 1.23 KB
Contents
<%= form_for(@page) do |f| %> <fieldset class="inputs"> <% 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 %> <ol class="main"> <li class="string required title"> <%= f.label :Location %><br /> <%= f.text_field :name %> </li> <li class="string required title"> <%= f.label :title %><br /> <%= f.text_field :page_title %> <p class="inline-hints">this will appear in title</p> </li> <li class="string required title"> <%= f.label :meta_keywords %><br /> <%= f.text_area :meta_keywords, :class => 'small' %> </li> <li class="string required title"> <%= f.label :meta_description %><br /> <%= f.text_area :meta_description, :class => 'small' %> </li> <li class="string required title"> <%= f.label :content %><br /> <%= f.text_area :content %> </li> <li class="string required title"> </li> <hr> <li class="buttons"> <%= f.submit %> </li> </ol> </fieldset> <% end %>
Version data entries
5 entries across 5 versions & 1 rubygems