Project

General

Profile

Feature #588 » destroy.rhtml

David Petersen, 2008-02-07 21:34

 
<h2><%=l(:label_confirmation)%></h2>
<div class="box">
<center>
<table class="list">
<thead>
<th><%= l(:label_date) %></th>
<th><%= l(:label_member) %></th>
<th><%= l(:label_activity) %></th>
<th><%= l(:label_issue) %></th>
<th><%= l(:field_comments) %></th>
<th><%= l(:field_hours) %></th>
</thead>
<tbody>
<tr class="even">
<td align="center"><%= format_date(@time_entry_to_destroy.spent_on) %></td>
<td align="center"><%= @time_entry_to_destroy.user.name %></td>
<td align="center"><%= @time_entry_to_destroy.activity.name %></td>
<td align="center">
<% if @time_entry_to_destroy.issue %>
<div class="tooltip">
<%= link_to_issue @time_entry_to_destroy.issue %>
<span class="tip">
<%= render_issue_tooltip @time_entry_to_destroy.issue %>
</span>
</div>
<% end %>
</td>
<td><%=h @time_entry_to_destroy.comments %></td>
<td align="center"><strong><%= @time_entry_to_destroy.hours %></strong></td>
</tr>
</tbdoy>
</table>
<p><%=l(:text_timelog_destroy_confirmation)%></p>

<p>
<% form_tag({:controller => 'timelog', :action => 'destroy', :id => @time_entry_to_destroy}) do %>
<%= hidden_field_tag "confirm", 1 %>
<%= submit_tag l(:button_delete) %>
<% end %>
</p>
</center>
</div>
(2-2/8)