Sha256: 1c208bc42476f4533f4ba3bd7b8805c93883ec5cde44be43251e3044ecaccf49

Contents?: true

Size: 766 Bytes

Versions: 9

Compression:

Stored size: 766 Bytes

Contents

<% add_decidim_page_title(t(".questionnaire")) %>
<%= decidim_form_for(@form, url: questionnaire_template_path, html: { class: "form edit_questionnaire_template" }) do |f| %>
  <%= render partial: "form", object: f %>
<% end %>

<div class="card">
  <div class="card-divider">
    <h2 class="card-title"><%= t(".questionnaire") %></h2>
      <%= link_to t(".edit"), edit_questionnaire_path(template), class: "button tiny button--title" %>
  </div>

  <div class="card-section questionnaire-template-preview">
    <div class="row column">
      <% if template.templatable.questions.any? %>
        <%= render partial: "preview", locals: { questionnaire: template.templatable } %>
      <% else %>
        <%= t(".empty") %>
      <% end %>
    </div>
  </div>
</div>

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
decidim-templates-0.27.9 app/views/decidim/templates/admin/questionnaire_templates/edit.html.erb
decidim-templates-0.27.8 app/views/decidim/templates/admin/questionnaire_templates/edit.html.erb
decidim-templates-0.27.7 app/views/decidim/templates/admin/questionnaire_templates/edit.html.erb
decidim-templates-0.27.6 app/views/decidim/templates/admin/questionnaire_templates/edit.html.erb
decidim-templates-0.26.10 app/views/decidim/templates/admin/questionnaire_templates/edit.html.erb
decidim-templates-0.26.9 app/views/decidim/templates/admin/questionnaire_templates/edit.html.erb
decidim-templates-0.27.5 app/views/decidim/templates/admin/questionnaire_templates/edit.html.erb
decidim-templates-0.26.8 app/views/decidim/templates/admin/questionnaire_templates/edit.html.erb
decidim-templates-0.27.4 app/views/decidim/templates/admin/questionnaire_templates/edit.html.erb