Sha256: 50ff0ccad6a27d623ad3df73add68adae842543889afdee2442fdab890115052
Contents?: true
Size: 1.17 KB
Versions: 3
Compression:
Stored size: 1.17 KB
Contents
<% add_decidim_page_title(edit_questionnaire_title) %> <div class="item_show__header"> <h2 class="item_show__header-title"> <%= edit_questionnaire_title %> <% if questionnaire.answers.any? %> <div class="button--title"> <%= export_dropdown(current_component, questionnaire.id) if allowed_to?(:export_answers, :questionnaire) %> </div> <% else %> <button class="button button__sm button__secondary" disabled><%= t("empty", scope: "decidim.forms.admin.questionnaires.answers") %></button> <% end %> </h2> </div> <div class="item__edit item__edit-1col"> <div class="item__edit-form"> <%= decidim_form_for(@form, url: update_url, method: :put, html: { class: "form-defaults form edit_questionnaire" }) do |form| %> <%= render partial: "decidim/meetings/admin/poll/form", object: form %> <% if questionnaire.questions_editable? %> <div class="item__edit-sticky"> <div class="item__edit-sticky-container"> <%= form.submit t("save", scope: "decidim.forms.admin.questionnaires.edit"), class: "button button__sm button__secondary" %> </div> </div> <% end %> <% end %> </div> </div>
Version data entries
3 entries across 3 versions & 1 rubygems