Sha256: f91c58968c016678f5171f1f54381fdb3f124111813041006a4f2f0c2887bd40
Contents?: true
Size: 1.14 KB
Versions: 28
Compression:
Stored size: 1.14 KB
Contents
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8" /> <% application_name = ShopifyApp.configuration.application_name %> <title><%= application_name %></title> <%= stylesheet_link_tag 'application' %> <%= javascript_include_tag 'application', "data-turbolinks-track" => true %> <%= csrf_meta_tags %> </head> <body> <div class="app-wrapper"> <div class="app-content"> <main role="main"> <%= yield %> </main> </div> </div> <%= render 'layouts/flash_messages' %> <script src="https://cdn.shopify.com/s/assets/external/app.js?<%= Time.now.strftime('%Y%m%d%H') %>"></script> <script type="text/javascript"> ShopifyApp.init({ apiKey: "<%= ShopifyApp.configuration.api_key %>", shopOrigin: "<%= "https://#{ @shop_session.url }" if @shop_session %>", debug: <%= Rails.env.development? ? 'true' : 'false' %>, forceRedirect: true }); </script> <% if content_for?(:javascript) %> <div id="ContentForJavascript" data-turbolinks-temporary> <%= yield :javascript %> </div> <% end %> </body> </html>
Version data entries
28 entries across 28 versions & 1 rubygems