Sha256: 2d47922d78674ae93497f4eadee6e9fc8b1c7ebf9ada5e7bfc98fe88788d4c61

Contents?: true

Size: 837 Bytes

Versions: 6

Compression:

Stored size: 837 Bytes

Contents

<%= render 'decidim/proposals/admin/shared/info_proposal' %>
<%=  decidim_form_for(@form, url: proposal_proposal_answer_path(proposal, @form), html: { class: "form edit_proposal_answer" }) do |f| %>
  <div class="card">
    <div class="card-divider">
      <h2 class="card-title"><%= t ".title", title: proposal.title %></h2>
    </div>

    <div class="card-section">
      <div class="row column">
        <%= f.collection_radio_buttons :state, [["accepted", t('.accepted')], ["rejected", t('.rejected')], ["evaluating", t('.evaluating')]], :first, :last, prompt: true %>
      </div>

      <div class="row column">
        <%= f.translated :editor, :answer, autofocus: true, rows: 15 %>
      </div>
    </div>
  </div>

  <div class="button--double form-general-submit">
    <%= f.submit t(".answer_proposal") %>
  </div>
<% end %>

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
decidim-proposals-0.10.1 app/views/decidim/proposals/admin/proposal_answers/edit.html.erb
decidim-proposals-0.10.0 app/views/decidim/proposals/admin/proposal_answers/edit.html.erb
decidim-proposals-0.9.3 app/views/decidim/proposals/admin/proposal_answers/edit.html.erb
decidim-proposals-0.9.2 app/views/decidim/proposals/admin/proposal_answers/edit.html.erb
decidim-proposals-0.9.1 app/views/decidim/proposals/admin/proposal_answers/edit.html.erb
decidim-proposals-0.9.0 app/views/decidim/proposals/admin/proposal_answers/edit.html.erb