diff --git a/app/views/role/index.rhtml b/app/views/role/index.rhtml index 6329914..061dbe1 100644 --- a/app/views/role/index.rhtml +++ b/app/views/role/index.rhtml @@ -1,12 +1,22 @@ -<%= link_to _('New role'), :action => 'new' %> -
<%= _('Role') %> | +<%= _('Ações') %> | +
---|---|
+ <%= link_to role.name, :action => 'show', :id => role %> + | ++ <%= button_without_text :edit, _('Edit'), :action => 'edit', :id => role %> + <%= button_without_text :delete, _('Destroy'), :action => 'destroy', :id => role %> + | +
<%= link_to _('Back'), :controller => 'admin_panel' %>
+<% button_bar do %> + <%= button :new, _('New role'), :action => 'new' %> + <%= button :back, _('Back'), :controller => 'admin_panel' %> +<% end %> -- libgit2 0.21.2