diff --git a/app/views/role/_form.rhtml b/app/views/role/_form.rhtml index b801cfd..ec337b0 100644 --- a/app/views/role/_form.rhtml +++ b/app/views/role/_form.rhtml @@ -10,4 +10,5 @@ <% end %> <%= submit_tag (mode == :edit) ? _('Save changes') : _('Create role')%> + <%= link_to _('Cancel'), :action => 'index' %> <% end %> diff --git a/app/views/role/index.rhtml b/app/views/role/index.rhtml index fe54a6f..6329914 100644 --- a/app/views/role/index.rhtml +++ b/app/views/role/index.rhtml @@ -8,3 +8,5 @@ <% end %> + +

<%= link_to _('Back'), :controller => 'admin_panel' %>

diff --git a/app/views/role/show.rhtml b/app/views/role/show.rhtml index 3001cc6..3e89eec 100644 --- a/app/views/role/show.rhtml +++ b/app/views/role/show.rhtml @@ -1,6 +1,10 @@

<%= _(@role.name) %>

+ +

<%= _('Permissions') %>

+ +<%= link_to _('Back'), :action => 'index' %> -- libgit2 0.21.2