Skip to content

Commit

Permalink
fixed enketo?
Browse files Browse the repository at this point in the history
  • Loading branch information
meltheadorable committed Jul 24, 2024
1 parent 6f4d68b commit faab260
Show file tree
Hide file tree
Showing 4 changed files with 36 additions and 485 deletions.
6 changes: 5 additions & 1 deletion app/views/layouts/application.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,11 @@
<%= main_stylesheet_tag(params) %>
<%= stylesheet_link_tag("disable_bootstrap_modal_transitions") if Rails.env.test? %>
<%= javascript_include_tag("application") %>
<%= javascript_pack_tag("application") %>
<% if content_for?(:per_page_packs) %>
<%= javascript_pack_tag("application", yield(:per_page_packs)) %>
<% else %>
<%= javascript_pack_tag("application") %>
<% end %>
<%= csrf_meta_tags %>

<%= javascript_doc_ready do %>
Expand Down
2 changes: 1 addition & 1 deletion app/views/responses/enketo_form.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,4 @@
<%= render(partial: "powered_by_enketo") %>
<% end %>

<%= javascript_pack_tag 'enketo' %>
<%= content_for(:per_page_packs, 'enketo') %>
6 changes: 3 additions & 3 deletions lib/enketo-transformer-service/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
"scripts": {
"start": "node index.js"
},
"resolutions": {
},
"resolutions": {},
"dependencies": {
"enketo-transformer": "2.3.0"
"enketo-transformer": "~4.0.0",
"libxslt": "^0.10.2"
}
}
Loading

0 comments on commit faab260

Please sign in to comment.