Sha256: da3f6111b9d71aada584abdad916a2e34f6dfbbb755ef6b46a0c369a55aa863d
Contents?: true
Size: 879 Bytes
Versions: 4
Compression:
Stored size: 879 Bytes
Contents
<% js_configs = { api_path: decidim_api.root_path(locale: nil), icons_path: Decidim.cors_enabled ? "" : asset_pack_path("media/images/remixicon.symbol.svg"), messages: { "selfxssWarning": t("decidim.security.selfxss_warning"), editor: t("editor") } } character_messages = { "charactersAtLeast": { one: t("forms.length_validator.minimum.one", count: "%count%", default: "forms.length_validator.minimum.other"), other: t("forms.length_validator.minimum.other", count: "%count%") }, "charactersLeft": { one: t("decidim.components.add_comment_form.remaining_characters_1", count: "%count%"), other: t("decidim.components.add_comment_form.remaining_characters", count: "%count%") } } %> <script> Decidim.config.set(<%== js_configs.to_json %>); Decidim.InputCharacterCounter.configureMessages(<%== character_messages.to_json %>); </script>
Version data entries
4 entries across 4 versions & 1 rubygems