app/views/admin/pages/show.html.erb in beef-pages-0.3.17 vs app/views/admin/pages/show.html.erb in beef-pages-0.3.18

- old
+ new

@@ -20,10 +20,20 @@ <%= f.label :title %><br/> <%= @page.title %> (locked) </p> <% end %> + <p> + <%= f.label :body, 'Body*' %><br/> + <%= f.text_area 'body', :class => 'editor' %> + </p> + + <p> + <%= f.label :description, "Description*" %><br/> + <%= f.text_area :description, "rows" => 4 %> + </p> + <% if @page.lock_level < Page::LOCK_LEVEL_PERMALINK %> <p> <%= f.label :permalink, "URL" %><br/> <%= root_url %><%= f.text_field :permalink %> </p> @@ -33,19 +43,9 @@ <p> <%= f.label :permalink, "URL" %><br/> <%= root_url %><%= @page.permalink %> (locked) </p> <% end %> - - <p> - <%= f.label :body, 'Body*' %><br/> - <%= f.text_area 'body', :class => 'editor' %> - </p> - - <p> - <%= f.label :description, "Description*" %><br/> - <%= f.text_area :description, "rows" => 4 %> - </p> <p> <%= f.label :tag_list, "Keywords (used by search engines) & Tags - comma separated*" %><br/> <%= f.text_field :tag_list, :class => 'long' %> </p>