diff options
Diffstat (limited to 'app/views/admin_request')
-rw-r--r-- | app/views/admin_request/_incoming_message_actions.rhtml | 4 | ||||
-rw-r--r-- | app/views/admin_request/edit.rhtml | 4 | ||||
-rw-r--r-- | app/views/admin_request/edit_comment.rhtml | 2 | ||||
-rw-r--r-- | app/views/admin_request/edit_outgoing.rhtml | 4 | ||||
-rw-r--r-- | app/views/admin_request/list.rhtml | 2 | ||||
-rw-r--r-- | app/views/admin_request/show.rhtml | 6 |
6 files changed, 11 insertions, 11 deletions
diff --git a/app/views/admin_request/_incoming_message_actions.rhtml b/app/views/admin_request/_incoming_message_actions.rhtml index 569132861..3090185e2 100644 --- a/app/views/admin_request/_incoming_message_actions.rhtml +++ b/app/views/admin_request/_incoming_message_actions.rhtml @@ -1,4 +1,4 @@ -<% form_tag '../redeliver_incoming' do %> +<%= form_tag '../redeliver_incoming' do %> <div> id or url_title of request (or a list of requests, comma-separated): <% if @info_requests && @info_requests.size == 1 %> @@ -15,7 +15,7 @@ <%= link_to 'FOI officer upload URL', '../generate_upload_url/' + incoming_message.info_request.id.to_s + "?incoming_message_id=" + incoming_message.id.to_s %> </p> -<% form_tag '../destroy_incoming' do %> +<%= form_tag '../destroy_incoming' do %> <div> <%= hidden_field_tag 'incoming_message_id', incoming_message.id %> Warning, this is permanent! ---> diff --git a/app/views/admin_request/edit.rhtml b/app/views/admin_request/edit.rhtml index 8fa2a1fe2..900947321 100644 --- a/app/views/admin_request/edit.rhtml +++ b/app/views/admin_request/edit.rhtml @@ -2,7 +2,7 @@ <%= error_messages_for 'info_request' %> -<% form_tag '../update/' + @info_request.id.to_s do %> +<%= form_tag '../update/' + @info_request.id.to_s do %> <p><label for="info_request_title"><strong>Title</strong></label> (warning: editing this will break URLs right now)<br/> <%= text_field 'info_request', 'title', :size => 50 %></p> @@ -51,7 +51,7 @@ <hr> -<% form_tag '../destroy/' + @info_request.id.to_s do %> +<%= form_tag '../destroy/' + @info_request.id.to_s do %> <p> <strong>This is permanent and irreversible!</strong> <%= submit_tag 'Destroy request entirely' %> <br>Use it mainly if someone posts private information, e.g. made a Data Protection request. It diff --git a/app/views/admin_request/edit_comment.rhtml b/app/views/admin_request/edit_comment.rhtml index ee43e849a..2152ee72f 100644 --- a/app/views/admin_request/edit_comment.rhtml +++ b/app/views/admin_request/edit_comment.rhtml @@ -2,7 +2,7 @@ <%= error_messages_for 'comment' %> -<% form_tag '../update_comment/' + @comment.id.to_s do %> +<%= form_tag '../update_comment/' + @comment.id.to_s do %> <p><label for="comment_body">Body of annotation</label><br/> <%= text_area 'comment', 'body', :rows => 10, :cols => 60 %></p> diff --git a/app/views/admin_request/edit_outgoing.rhtml b/app/views/admin_request/edit_outgoing.rhtml index 4932cb52f..f749eac7b 100644 --- a/app/views/admin_request/edit_outgoing.rhtml +++ b/app/views/admin_request/edit_outgoing.rhtml @@ -2,7 +2,7 @@ <%= error_messages_for 'outgoing_message' %> -<% form_tag '../update_outgoing/' + @outgoing_message.id.to_s do %> +<%= form_tag '../update_outgoing/' + @outgoing_message.id.to_s do %> <p><label for="outgoing_message_body">Body of message</label><br/> <%= text_area 'outgoing_message', 'body', :rows => 10, :cols => 60 %></p> @@ -22,7 +22,7 @@ <%= link_to 'List all', '../list' %> </p> -<% form_tag '../destroy_outgoing' do %> +<%= form_tag '../destroy_outgoing' do %> <div> <%= hidden_field_tag 'outgoing_message_id', @outgoing_message.id %> Warning, this is permanent! ---> diff --git a/app/views/admin_request/list.rhtml b/app/views/admin_request/list.rhtml index cb328543e..ae95cb5ad 100644 --- a/app/views/admin_request/list.rhtml +++ b/app/views/admin_request/list.rhtml @@ -2,7 +2,7 @@ <h1><%=@title%></h1> -<% form_tag("", :method => "get") do %> +<%= form_tag("", :method => "get") do %> <p> <%= text_field_tag 'query', params[:query], { :size => 30 } %> <%= submit_tag "Search" %> (substring search, titles only) diff --git a/app/views/admin_request/show.rhtml b/app/views/admin_request/show.rhtml index 973bf8bf3..3dd39347b 100644 --- a/app/views/admin_request/show.rhtml +++ b/app/views/admin_request/show.rhtml @@ -3,7 +3,7 @@ <h1><%=@title%></h1> -<% form_tag '../move_request', { :class => "inline" } do %> +<%= form_tag '../move_request', { :class => "inline" } do %> <p> <%= hidden_field_tag 'info_request_id', @info_request.id %> <% for column in InfoRequest.content_columns %> @@ -86,7 +86,7 @@ <% end %> <td> <% if info_request_event.described_state != 'waiting_clarification' and info_request_event.event_type == 'response' %> - <% form_tag '../mark_event_as_clarification' do %> + <%= form_tag '../mark_event_as_clarification' do %> <div> <%= hidden_field_tag 'info_request_event_id', info_request_event.id %> <%= submit_tag "Was clarification request" %> @@ -127,7 +127,7 @@ <% end %> <td> - <% form_tag '../resend' do %> + <%= form_tag '../resend' do %> <div> <%= hidden_field_tag 'outgoing_message_id', outgoing_message.id %> <%= submit_tag "Resend" %> |