diff options
Diffstat (limited to 'app/views/roles')
-rw-r--r-- | app/views/roles/edit.html.erb | 2 | ||||
-rw-r--r-- | app/views/roles/new.html.erb | 2 | ||||
-rw-r--r-- | app/views/roles/permissions.html.erb | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/app/views/roles/edit.html.erb b/app/views/roles/edit.html.erb index 3bb07c08f..7caca3002 100644 --- a/app/views/roles/edit.html.erb +++ b/app/views/roles/edit.html.erb @@ -1,6 +1,6 @@ <h2><%= link_to l(:label_role_plural), roles_path %> » <%=h @role.name %></h2> -<% labelled_form_for @role do |f| %> +<%= labelled_form_for @role do |f| %> <%= render :partial => 'form', :locals => { :f => f } %> <%= submit_tag l(:button_save) %> <% end %> diff --git a/app/views/roles/new.html.erb b/app/views/roles/new.html.erb index 77f31a7c0..0e5dfeb9c 100644 --- a/app/views/roles/new.html.erb +++ b/app/views/roles/new.html.erb @@ -1,6 +1,6 @@ <h2><%= link_to l(:label_role_plural), roles_path %> » <%=l(:label_role_new)%></h2> -<% labelled_form_for @role do |f| %> +<%= labelled_form_for @role do |f| %> <%= render :partial => 'form', :locals => { :f => f } %> <%= submit_tag l(:button_create) %> <% end %> diff --git a/app/views/roles/permissions.html.erb b/app/views/roles/permissions.html.erb index da8e1ad8b..af78715e0 100644 --- a/app/views/roles/permissions.html.erb +++ b/app/views/roles/permissions.html.erb @@ -1,6 +1,6 @@ <h2><%= link_to l(:label_role_plural), roles_path %> » <%=l(:label_permissions_report)%></h2> -<% form_tag(permissions_roles_path, :id => 'permissions_form') do %> +<%= form_tag(permissions_roles_path, :id => 'permissions_form') do %> <%= hidden_field_tag 'permissions[0]', '', :id => nil %> <div class="autoscroll"> <table class="list permissions"> |