summaryrefslogtreecommitdiff
path: root/help/app/views
diff options
context:
space:
mode:
authorjessib <jessib@leap.se>2012-12-11 15:07:27 -0800
committerjessib <jessib@leap.se>2012-12-11 15:07:27 -0800
commit4259cad450fee703dc34ebe5322de994d06a5448 (patch)
tree8c07fe6f44379033a0fc677176dd8c8f935ad4a1 /help/app/views
parent7a9a4f4e7bd090fd27e05b03f93832d79f5f8db2 (diff)
Playing around with using x-editable, which isn't yet working.
Diffstat (limited to 'help/app/views')
-rw-r--r--help/app/views/tickets/show.html.haml6
1 files changed, 6 insertions, 0 deletions
diff --git a/help/app/views/tickets/show.html.haml b/help/app/views/tickets/show.html.haml
index d9f594b..3e4acb9 100644
--- a/help/app/views/tickets/show.html.haml
+++ b/help/app/views/tickets/show.html.haml
@@ -1,4 +1,10 @@
%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
+
+%p
- if @ticket.email
email:
= @ticket.email