Sha256: 6abcfc5c9c51d2caf63166c541e2d9466fcf8ebe511269aabfa06964b1871bae
Contents?: true
Size: 1.31 KB
Versions: 7
Compression:
Stored size: 1.31 KB
Contents
<div class="form__wrapper"> <div class="card"> <div class="card-section"> <% if form.send(:error?, :external_domains) %> <div class="input-field"> <div> </div> <%= form.send(:error_and_help_text, :external_domains) %> </div> <% end %> <div class="external-domains"> <%= fields_for "external_domains[#{blank_external_domain.to_param}]", blank_external_domain do |external_domain_form| %> <script type="text/template" class="decidim-template"> <%= render "external_domain", form: external_domain_form, id: blank_external_domain.to_param %> </script> <% end %> <div class="external-domains-list"> <% @form.external_domains.each do |external_domain| %> <%= fields_for "external_domains[]", external_domain do |external_domain_form| %> <%= render "external_domain", form: external_domain_form, id: external_domain.to_param %> <% end %> <% end %> </div> <div class="row column"> <button class="button button__sm button__secondary small hollow add-external-domain"><%= t(".add") %></button> </div> </div> </div> </div> </div>
Version data entries
7 entries across 7 versions & 1 rubygems