Fix new page form
Redirect to home when not authorized Get only module_apps with app_pages for new and edit page Change web_resource.json
This commit is contained in:
1 parent
01d0c002f5
commit
e40c76bf5f
4 files changed
+4
-5
No files matched your search
@@ -1,7 +1,7 @@
|
||||
<%= flash_messages %>
|
||||
<div id="poststuff">
|
||||
<h1><%= t('admin.new_page') %></h1>
|
||||
<%= form_for @item, :url => admin_page_path, :html => { :class => 'form-horizontal edit_page' } do |f| %>
|
||||
<%= form_for @item, :url => admin_pages_path, :html => { :class => 'form-horizontal edit_page' } do |f| %>
|
||||
<%= render :partial => "form", :locals => { :f => f } %>
|
||||
<div class="form-actions">
|
||||
<%= f.submit t('update'), :class => 'btn btn-primary' %>
|
||||
|
||||
Reference in new issue
Block a user