app/views/admin/pages/_form.html.erb in shakespeare-0.1.0 vs app/views/admin/pages/_form.html.erb in shakespeare-0.1.1
- old
+ new
@@ -1,38 +1,38 @@
-<% form_for [:admin, @page] do |f| -%>
-
- <%= f.error_messages %>
-
- <fieldset>
- <%= f.label :url, "URL" %> <%= f.text_field :url %> <em><%= t('page.maps_to') %></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 %>
+<% 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 -%>
\ No newline at end of file