diff options
Diffstat (limited to 'app/views')
-rw-r--r-- | app/views/admin_public_body/_form.rhtml | 2 | ||||
-rw-r--r-- | app/views/admin_request/edit.rhtml | 21 |
2 files changed, 19 insertions, 4 deletions
diff --git a/app/views/admin_public_body/_form.rhtml b/app/views/admin_public_body/_form.rhtml index 1a89edf02..68cbed624 100644 --- a/app/views/admin_public_body/_form.rhtml +++ b/app/views/admin_public_body/_form.rhtml @@ -3,7 +3,7 @@ <!--[form:public_body]--> <p><label for="public_body_name">Name</label><br/> <%= text_field 'public_body', 'name', :size => 60 %></p> -<p><label for="public_body_short_name">Short name (also used to make URL, leave blank for same as name)</label><br/> +<p><label for="public_body_short_name">Short name (also used to make URL, leave blank for same as name. Don't worry about breaking URLs through renaming, as the history is used to redirect)</label><br/> <%= text_field 'public_body', 'short_name', :size => 60 %></p> <p><label for="public_body_tag_string">Tags</label><br/> <%= text_field 'public_body', 'tag_string', :size => 40 %></p> diff --git a/app/views/admin_request/edit.rhtml b/app/views/admin_request/edit.rhtml index 48af4f1f3..46ab70ca0 100644 --- a/app/views/admin_request/edit.rhtml +++ b/app/views/admin_request/edit.rhtml @@ -4,13 +4,28 @@ <% form_tag '../update/' + @info_request.id.to_s do %> - <p><label for="info_request_title">Title</label><br/> + <p><label for="info_request_title">Title</label> (warning: editing this will break URLs right now)<br/> <%= text_field 'info_request', 'title', :size => 50 %></p> - <p><label for="info_request_prominence">Prominence</label><br/> + <p><label for="info_request_prominence">Prominence</label> (whether is shown in lists of requests or not)<br/> <%= select( 'info_request', "prominence", { "normal" => "normal", "backpage" => "backpage"}) %> - <%= submit_tag 'Save' %> + <p><label for="info_request_awaiting_description">Awaiting description</label><br/> + <%= select('info_request', "awaiting_description", [["Yes",true],["No",false]]) %> + </p> + + <p><label for="info_request_described_state">Described state</label><br/> + <%= select( 'info_request', "described_state", + [ + 'waiting_response', + 'waiting_clarification', + 'rejected', + 'successful', + 'partially_successful', + 'requires_admin', + ]) %> + + <%= submit_tag 'Save' %> <p><strong>Note:</strong> To edit the actual request body text, click edit next to the specific outgoing message. |