Sha256: 06a02842d99da8ecb4d3a1b4a942ed3a7c1cc540f2af7c7694ab4efe5e3e7662

Contents?: true

Size: 515 Bytes

Versions: 13

Compression:

Stored size: 515 Bytes

Contents

<% if block_user_templates.any? %>
  <div class="row column">
    <%= append_javascript_pack_tag "decidim_templates_admin" %>

    <select id="block_template_chooser" data-locale="en" data-url="<%= decidim_admin_templates.fetch_block_user_templates_url %>">
      <option value=""><%= t(".select_template") %></option>
      <% block_user_templates.each do |template| %>
        <option value="<%= template.id %>"><%= translated_attribute(template.name) %></option>
      <% end %>
    </select>
  </div>
<% end %>

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
decidim-templates-0.29.1 app/views/decidim/templates/admin/block_user_templates/_template_chooser.html.erb
decidim-templates-0.28.4 app/views/decidim/templates/admin/block_user_templates/_template_chooser.html.erb
decidim-templates-0.29.0 app/views/decidim/templates/admin/block_user_templates/_template_chooser.html.erb
decidim-templates-0.28.3 app/views/decidim/templates/admin/block_user_templates/_template_chooser.html.erb
decidim-templates-0.29.0.rc4 app/views/decidim/templates/admin/block_user_templates/_template_chooser.html.erb
decidim-templates-0.29.0.rc3 app/views/decidim/templates/admin/block_user_templates/_template_chooser.html.erb
decidim-templates-0.29.0.rc2 app/views/decidim/templates/admin/block_user_templates/_template_chooser.html.erb
decidim-templates-0.29.0.rc1 app/views/decidim/templates/admin/block_user_templates/_template_chooser.html.erb
decidim-templates-0.28.2 app/views/decidim/templates/admin/block_user_templates/_template_chooser.html.erb
decidim-templates-0.28.1 app/views/decidim/templates/admin/block_user_templates/_template_chooser.html.erb
decidim-templates-0.28.0 app/views/decidim/templates/admin/block_user_templates/_template_chooser.html.erb
decidim-templates-0.28.0.rc5 app/views/decidim/templates/admin/block_user_templates/_template_chooser.html.erb
decidim-templates-0.28.0.rc4 app/views/decidim/templates/admin/block_user_templates/_template_chooser.html.erb