Sha256: fbbaed8bff9e7696279379b38f26c45f70b36e72037a1a74a828b4377de0357e

Contents?: true

Size: 1.31 KB

Versions: 1

Compression:

Stored size: 1.31 KB

Contents

<script>
window.DecidimAwesome = <%= javascript_config_vars %>;
window.DecidimAwesome.version = "<%= Decidim::DecidimAwesome::VERSION %>";
window.DecidimAwesome.editor_uploader_path = "<%= decidim_decidim_awesome.editor_images_path %>";
window.DecidimAwesome.rename_scope_label_path = "<%= decidim_admin_decidim_awesome.rename_scope_label_path %>";
window.DecidimAwesome.texts = {
  "drag_and_drop_image": "<%= j t(".drag_and_drop_image") %>",
  "autosaved_success": "<%= j t(".autosaved_success") %>",
  "autosaved_error": "<%= j t(".autosaved_error") %>",
  "autosaved_retrieved": "<%= j t(".autosaved_retrieved") %>",
  "categories": "<%= j t(".categories") %>",
  "hashtags": "<%= j t(".hashtags") %>",
  "proposals": "<%= j t(".proposals") %>",
  "meetings": "<%= j t(".meetings") %>",
  "amendments": "<%= j t(".amendments") %>",
  "items": "<%= j t(".items") %>",
  "select_deselect_all": "<%= j t(".select_deselect_all") %>"
}
<% if defined? questionnaire %>
  window.DecidimAwesome.current_questionnaire = "edit_questionnaire_<%= questionnaire.id %>";
  <% if defined? visitor_already_answered? %>
  window.DecidimAwesome.questionnaire_answered = <%= visitor_already_answered? %>;
  <% end %>
<% end %>
</script>

<%= javascript_include_tag "decidim/decidim_awesome/proposals/custom_fields" if awesome_proposal_custom_fields %>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
decidim-decidim_awesome-0.7.2 app/views/layouts/decidim/decidim_awesome/_awesome_config.html.erb