Sha256: 058c9cb716021a73eac4c59cc2e4cd6a20a59a26b78d3246fc5a529eb7ddf0bf

Contents?: true

Size: 1.17 KB

Versions: 4

Compression:

Stored size: 1.17 KB

Contents

<% add_decidim_page_title(edit_questionnaire_title) %>
<div class="item_show__header">
  <h1 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 %>
  </h1>
</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

4 entries across 4 versions & 1 rubygems

Version Path
decidim-meetings-0.28.4 app/views/decidim/meetings/admin/poll/edit.html.erb
decidim-meetings-0.28.3 app/views/decidim/meetings/admin/poll/edit.html.erb
decidim-meetings-0.28.2 app/views/decidim/meetings/admin/poll/edit.html.erb
decidim-meetings-0.28.1 app/views/decidim/meetings/admin/poll/edit.html.erb