summaryrefslogtreecommitdiff
path: root/help/app/views/tickets/show.html.haml
diff options
context:
space:
mode:
authorjessib <jessib@riseup.net>2012-10-05 15:41:03 -0700
committerjessib <jessib@riseup.net>2012-10-05 15:41:03 -0700
commita6de1561461cc719fddd8175c93588a47513a4b8 (patch)
treef406d98575b0515135808750f22bcb03be02b1af /help/app/views/tickets/show.html.haml
parent118d9ab5c9f4d7a82b7cf24774ef12d3c221f8ef (diff)
Rough code to add & comment on tickets.
Diffstat (limited to 'help/app/views/tickets/show.html.haml')
-rw-r--r--help/app/views/tickets/show.html.haml10
1 files changed, 10 insertions, 0 deletions
diff --git a/help/app/views/tickets/show.html.haml b/help/app/views/tickets/show.html.haml
new file mode 100644
index 0000000..a37f5c8
--- /dev/null
+++ b/help/app/views/tickets/show.html.haml
@@ -0,0 +1,10 @@
+%h2= @ticket.title
+is open?
+= @ticket.is_open
+code:
+= @ticket.code
+= render(:partial => "comment", :collection => @ticket.comments)
+
+= simple_form_for @ticket do |f|
+ = render :partial => 'new_comment'
+ = f.button :submit \ No newline at end of file