diff options
Diffstat (limited to 'app/views/admin_request/edit_comment.html.erb')
-rw-r--r-- | app/views/admin_request/edit_comment.html.erb | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/app/views/admin_request/edit_comment.html.erb b/app/views/admin_request/edit_comment.html.erb new file mode 100644 index 000000000..2152ee72f --- /dev/null +++ b/app/views/admin_request/edit_comment.html.erb @@ -0,0 +1,22 @@ +<h1>Edit annotation</h1> + +<%= error_messages_for 'comment' %> + +<%= 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> + + <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', '../show/' + @comment.info_request.id.to_s %> | +<%= link_to 'List all', '../list' %> +</p> + |