diff options
Diffstat (limited to 'app/views/admin_request/show.rhtml')
-rw-r--r-- | app/views/admin_request/show.rhtml | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/app/views/admin_request/show.rhtml b/app/views/admin_request/show.rhtml index ddab744e9..84d54b579 100644 --- a/app/views/admin_request/show.rhtml +++ b/app/views/admin_request/show.rhtml @@ -27,6 +27,7 @@ <% for column in InfoRequestEvent.content_columns %> <th><%= column.human_name %></th> <% end %> + <th>Actions</th> </tr> <% for info_request_event in @info_request.info_request_events.find(:all, :order => "created_at, id") %> @@ -43,6 +44,16 @@ <% end %> </td> <% end %> + <td> + <% if info_request_event.described_state != 'waiting_clarification' and info_request_event.event_type == 'response' %> + <% form_tag '../mark_event_as_clarification' do %> + <div> + <%= hidden_field_tag 'info_request_event_id', info_request_event.id %> + <%= submit_tag "Was clarification request" %> + </div> + <% end %> + <% end %> + </td> </tr> <% end %> </table> |