summaryrefslogtreecommitdiffstats
path: root/app/views/roles
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/roles')
-rw-r--r--app/views/roles/edit.html.erb2
-rw-r--r--app/views/roles/new.html.erb2
-rw-r--r--app/views/roles/permissions.html.erb2
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 %> &#187; <%=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 %> &#187; <%=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 %> &#187; <%=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">