Disable turbolinks for demo pages

This commit is contained in:
bumi 2020-05-04 11:09:57 +02:00
parent 63714b6c15
commit 55a2a1a51a
3 changed files with 8 additions and 8 deletions

View File

@ -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>

View File

@ -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>

View File

@ -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>