diff options
Diffstat (limited to 'app/views/admin_comment/edit.html.erb')
-rw-r--r-- | app/views/admin_comment/edit.html.erb | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/app/views/admin_comment/edit.html.erb b/app/views/admin_comment/edit.html.erb new file mode 100644 index 000000000..e3cbd7472 --- /dev/null +++ b/app/views/admin_comment/edit.html.erb @@ -0,0 +1,22 @@ +<h1>Edit annotation</h1> + +<%= error_messages_for 'comment' %> + +<%= form_tag admin_comment_path(@comment), :method => 'put' do %> + + <p><label for="comment_body">Body of annotation</label><br/> + <%= text_area 'comment', 'body', :rows => 10, :cols => 60 %></p> + + <p><label for="comment_visible">Visible</label> + <%= select('comment', "visible", [["Yes – show comment",true],["No – hide comment",false]]) %> + </p> + + + <p><%= submit_tag 'Save', :accesskey => 's' %></p> +<% end %> + +<p> +<%= link_to 'Show request', admin_request_path(@comment.info_request) %> | +<%= link_to 'List all requests', admin_requests_path %> +</p> + |