Sha256: 3b0e1405d9fa7aa26d9af634901cd2e89f071570d930b0cd11392bf3eeefe5c4
Contents?: true
Size: 1.29 KB
Versions: 3
Compression:
Stored size: 1.29 KB
Contents
<% add_decidim_page_title(t(".title")) %> <div class="item_show__header"> <h2 class="item_show__header-title"> <%= t(".title") %> </h2> </div> <div class="item__edit item__edit-1col"> <div class="item__edit-form"> <%= decidim_form_for(@form, url: questionnaire_template_path, html: { class: "form form-defaults edit_questionnaire_template" }) do |f| %> <%= render partial: "form", object: f %> <div class="item__edit-sticky"> <div class="item__edit-sticky-container"> <%= f.submit t("save", scope: "decidim.templates.admin.block_user_templates.form"), class: "button button__sm button__secondary" %> </div> </div> <% end %> <div class="card mt-4"> <div class="card-divider"> <h2 class="card-title"><%= t(".questionnaire") %> <%= link_to t(".edit"), edit_questionnaire_path(template), class: "button button__sm button__secondary" %> </h2> </div> <div class="card-section questionnaire-template-preview"> <% if template.templatable.questions.any? %> <%= render partial: "preview", locals: { questionnaire: template.templatable } %> <% else %> <div class="row columns pb-4"> <%= t(".empty") %> </div> <% end %> </div> </div> </div> </div>
Version data entries
3 entries across 3 versions & 1 rubygems