Fixes for javascript in basic and guided button mode
This commit is contained in:
parent
6ed0463867
commit
dbb71b9b17
2 changed files with 4 additions and 1 deletions
|
@ -2,6 +2,9 @@
|
||||||
<%= content_for :stylesheets do %>
|
<%= content_for :stylesheets do %>
|
||||||
<%= stylesheet_link_tag 'nonprofits/button/page' %>
|
<%= stylesheet_link_tag 'nonprofits/button/page' %>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
<%= content_for :javascripts do %>
|
||||||
|
<%= javascript_pack_tag 'i18n', 'page__nonprofits__button'%>
|
||||||
|
<% end %>
|
||||||
<% content_for(:footer_hidden) {'hidden'} %>
|
<% content_for(:footer_hidden) {'hidden'} %>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
<% content_for(:footer_hidden) {'hidden'} %>
|
<% content_for(:footer_hidden) {'hidden'} %>
|
||||||
|
|
||||||
<% content_for :javascripts do %>
|
<% content_for :javascripts do %>
|
||||||
<%= <%= javascript_pack_tag 'i18n', 'page__nonprofits__button' %>
|
<%= javascript_pack_tag 'i18n', 'page__nonprofits__button' %>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
||||||
<header class='header'>
|
<header class='header'>
|
||||||
|
|
Loading…
Reference in a new issue