Chatwoot/app/views/widgets/index.html.erb

19 lines
515 B
Text
Raw Normal View History

<!DOCTYPE html>
<html>
<head>
<title>Chatwoot</title>
<%= csrf_meta_tags %>
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=0" />
<%= javascript_pack_tag 'widget' %>
<%= stylesheet_pack_tag 'widget' %>
</head>
<body>
<div id="app"></div>
<%= yield %>
<script>
window.chatwootWebChannel = '<%= @web_widget.website_name %>'
window.chatwootPubsubToken = '<%= @contact.pubsub_token %>'
</script>
</body>
</html>