summaryrefslogtreecommitdiff
path: root/help/app/views/tickets
diff options
context:
space:
mode:
authorjessib <jessib@leap.se>2012-12-11 16:18:37 -0800
committerjessib <jessib@leap.se>2012-12-11 16:18:37 -0800
commit524bb47fa5782ca1e0aaf16a4a0836defadfbe48 (patch)
treefca69fdd24858e2b565d19ef1c55d7af25bd25c1 /help/app/views/tickets
parent4259cad450fee703dc34ebe5322de994d06a5448 (diff)
Start to using x-editable to have title editable.
Diffstat (limited to 'help/app/views/tickets')
-rw-r--r--help/app/views/tickets/show.html.haml5
1 files changed, 2 insertions, 3 deletions
diff --git a/help/app/views/tickets/show.html.haml b/help/app/views/tickets/show.html.haml
index 3e4acb9..f09f525 100644
--- a/help/app/views/tickets/show.html.haml
+++ b/help/app/views/tickets/show.html.haml
@@ -1,8 +1,7 @@
%h2= @ticket.title
-= #%a#title.editable.editable-click{"data-name" => "title", "data-original-title" => "Enter username", "data-resource" => "post", "data-type" => "text", "data-url" => ticket_path(@ticket.id), "data-pk" => @ticket.id, :href => "#"} test
-
-%a#title.editable.editable-click{:href => "#"} test
+%a#title.editable.editable-click{"data-name" => "title", "data-original-title" => "Enter username", "data-resource" => "post", "data-type" => "text", "data-url" => ticket_path(@ticket.id), "data-pk" => @ticket.id, :href => "#"}
+ = @ticket.title
%p
- if @ticket.email