Disable turbolinks for demo pages
This commit is contained in:
parent
63714b6c15
commit
55a2a1a51a
@ -8,13 +8,13 @@
|
||||
<div class="tabs is-centered">
|
||||
<ul>
|
||||
<li>
|
||||
<%= link_to demo_url(backend: 'google-sheets') do %>
|
||||
<%= link_to demo_url(backend: 'google-sheets'), data: { turbolinks: 'false'} do %>
|
||||
<span class="icon is-small"><%= image_tag 'google_sheets-icon.svg' %></span>
|
||||
<span>Google Sheets</span>
|
||||
<% end %>
|
||||
</li>
|
||||
<li class="is-active">
|
||||
<%= link_to demo_url(backend: 'airtable') do %>
|
||||
<%= link_to demo_url(backend: 'airtable'), data: { turbolinks: 'false'} do %>
|
||||
<span class="icon is-small"><%= image_tag 'airtable-icon.svg' %></span>
|
||||
<span>Airtable</span>
|
||||
<% end %>
|
||||
@ -35,7 +35,7 @@
|
||||
<p>
|
||||
<%= link_to "Create your form now!", signup_url, class: 'button' %>
|
||||
<br>
|
||||
or got <%= link_to 'further questions?', contact_url %>
|
||||
or got <%= link_to 'further questions?', contact_url, data: { turbolinks: 'false'} %>
|
||||
</p>
|
||||
</div>
|
||||
|
||||
|
@ -8,13 +8,13 @@
|
||||
<div class="tabs is-centered">
|
||||
<ul>
|
||||
<li class="is-active">
|
||||
<%= link_to demo_url(backend: 'google-sheets') do %>
|
||||
<%= link_to demo_url(backend: 'google-sheets'), data: { turbolinks: 'false'} do %>
|
||||
<span class="icon is-small"><%= image_tag 'google_sheets-icon.svg' %></span>
|
||||
<span>Google Sheets</span>
|
||||
<% end %>
|
||||
</li>
|
||||
<li>
|
||||
<%= link_to demo_url(backend: 'airtable') do %>
|
||||
<%= link_to demo_url(backend: 'airtable'), data: { turbolinks: 'false'} do %>
|
||||
<span class="icon is-small"><%= image_tag 'airtable-icon.svg' %></span>
|
||||
<span>Airtable</span>
|
||||
<% end %>
|
||||
@ -36,7 +36,7 @@
|
||||
<p>
|
||||
<%= link_to "Create your form now!", signup_url, class: 'button' %>
|
||||
<br>
|
||||
or got <%= link_to 'further questions?', contact_url %>
|
||||
or got <%= link_to 'further questions?', contact_url, data: { turbolinks: 'false'} %>
|
||||
</p>
|
||||
</div>
|
||||
|
||||
|
@ -20,7 +20,7 @@
|
||||
</p>
|
||||
<p class="call-to-action">
|
||||
<%= link_to "Get started", signup_url, class: 'is-uppercase button is-rounded is-primary has-text-white a-menu' %>
|
||||
or try our <%= link_to "Live demos", demo_url %>
|
||||
or try our <%= link_to "Live demos", demo_url, data: { turbolinks: 'false'} %>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
@ -245,7 +245,7 @@
|
||||
<%= link_to "Start now - 15 days for free!", signup_url, class: 'is-uppercase button is-rounded is-primary has-text-white a-menu' %>
|
||||
</p>
|
||||
<p class="paragraph" style="margin-top:1em">
|
||||
Want to see tinyforms in action first? Try our <%= link_to "live demos", demo_url %>.
|
||||
Want to see tinyforms in action first? Try our <%= link_to "live demos", demo_url, data: { turbolinks: 'false'} %>.
|
||||
</p>
|
||||
</div>
|
||||
</section>
|
||||
|
Loading…
x
Reference in New Issue
Block a user