<%= link_to root.title, main_app.root_path, :class=>"dark-arr", :id=>"a#{root.id}" %>
<% if can? :create, root.class, :context => :sunrise %>
<%= link_to t('manage.buttons.create_structure'), new_path, :class=>"create" %>
<% end %>
<% if can? :update, root, :context => :sunrise %>
<%= link_to image_tag("sunrise/ico_edit.gif", :title=>t('manage.edit')), "#", :class=>"icons" %>
<%= link_to image_tag("sunrise/ico_settings.gif", :title=>t('manage.label_settings')), edit_path(:id=> root.id), :class=>"icons" %>
<% end %>