|
|
|
@ -19,14 +19,16 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
|
|
|
|
++#%> |
|
|
|
|
|
|
|
|
|
<%= render :partial => 'shared/costs_header' %> |
|
|
|
|
<div class="contextual"> |
|
|
|
|
<% content_for :action_menu_specific do %> |
|
|
|
|
<%= link_to_if_authorized l(:button_update), {:controller => 'cost_objects', :action => 'edit', :id => @cost_object}, :onclick => 'showAndScrollTo("update", "cost_object_description"); return false;', :class => 'icon icon-edit', :accesskey => accesskey(:edit) %> |
|
|
|
|
<%= link_to_if_authorized l(:button_copy), {:controller => 'cost_objects', :action => 'copy', :id => @cost_object }, :class => 'icon icon-copy' %> |
|
|
|
|
<%= link_to_if_authorized l(:button_delete), {:controller => 'cost_objects', :action => 'destroy', :id => @cost_object}, :confirm => l(:text_are_you_sure), :method => :delete, :class => 'icon icon-delete' %> |
|
|
|
|
</div> |
|
|
|
|
<% end %> |
|
|
|
|
|
|
|
|
|
<h2><%= l(:label_cost_object_id, :id => @cost_object.id) %></h2> |
|
|
|
|
|
|
|
|
|
<%= render :partial => 'layouts/action_menu_specific' %> |
|
|
|
|
|
|
|
|
|
<div class="<%= @cost_object.css_classes %> details"> |
|
|
|
|
<h3><%=h @cost_object.subject %></h3> |
|
|
|
|
<p class="author"> |
|
|
|
|