summaryrefslogtreecommitdiff
path: root/app/views/call_routes
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/call_routes')
-rw-r--r--app/views/call_routes/show_variables.html.haml13
1 files changed, 13 insertions, 0 deletions
diff --git a/app/views/call_routes/show_variables.html.haml b/app/views/call_routes/show_variables.html.haml
new file mode 100644
index 0000000..4bec39d
--- /dev/null
+++ b/app/views/call_routes/show_variables.html.haml
@@ -0,0 +1,13 @@
+%h3= 'Channel Variables'
+
+%table.table.table-striped
+ %thead
+ %tr
+ %th= 'Variable'
+ %th= 'Value'
+
+ %tbody{ :id => "show_variables" }
+ - @channel_variables.each do |key, value|
+ %tr
+ %td= key
+ %td= value.gsub(/\n/, '<br/>').html_safe