Index: edit.rhtml =================================================================== --- edit.rhtml (revision 1128) +++ edit.rhtml (working copy) @@ -12,6 +12,7 @@ <%= submit_tag l(:button_save) %> +<%= link_to_if_authorized(l(:button_delete), {:controller => 'timelog', :action => 'destroy', :id => @time_entry}) %> <% end %> @@ -20,4 +21,4 @@ <%= javascript_include_tag "calendar/lang/calendar-#{current_language}.js" %> <%= javascript_include_tag 'calendar/calendar-setup' %> <%= stylesheet_link_tag 'calendar' %> -<% end %> \ No newline at end of file +<% end %>