Sha256: 29abb69d00c3729595ad4beaf95fe1c3a6ed5724a850c5df6c745443302ab7aa

Contents?: true

Size: 1.2 KB

Versions: 27

Compression:

Stored size: 1.2 KB

Contents

<%= decidim_form_for(@answer_form, url: proposal_proposal_answer_path(proposal, @answer_form), html: { class: "form edit_proposal_answer" }) do |f| %>
  <div class="card" id="proposal-answer">
    <div class="card-divider">
      <h2 class="card-title"><%= t ".title", title: present(proposal).title %></h2>
    </div>

    <div class="card-section">
      <div class="row column">
        <%= f.collection_radio_buttons :internal_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>

      <% if current_component.current_settings.answers_with_costs? %>
        <div class="row column">
          <%= f.number_field :cost %>
        </div>

        <div class="row column">
          <%= f.translated :editor, :cost_report, lines: 12 %>
        </div>

        <div class="row column">
          <%= f.translated :editor, :execution_period, lines: 12 %>
        </div>
      <% end %>
    </div>
  </div>

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

Version data entries

27 entries across 27 versions & 1 rubygems

Version Path
decidim-proposals-0.26.1 app/views/decidim/proposals/admin/proposal_answers/_form.html.erb
decidim-proposals-0.26.0 app/views/decidim/proposals/admin/proposal_answers/_form.html.erb
decidim-proposals-0.26.0.rc2 app/views/decidim/proposals/admin/proposal_answers/_form.html.erb
decidim-proposals-0.26.0.rc1 app/views/decidim/proposals/admin/proposal_answers/_form.html.erb
decidim-proposals-0.25.2 app/views/decidim/proposals/admin/proposal_answers/_form.html.erb
decidim-proposals-0.25.1 app/views/decidim/proposals/admin/proposal_answers/_form.html.erb
decidim-proposals-0.25.0 app/views/decidim/proposals/admin/proposal_answers/_form.html.erb
decidim-proposals-0.25.0.rc4 app/views/decidim/proposals/admin/proposal_answers/_form.html.erb
decidim-proposals-0.25.0.rc3 app/views/decidim/proposals/admin/proposal_answers/_form.html.erb
decidim-proposals-0.25.0.rc2 app/views/decidim/proposals/admin/proposal_answers/_form.html.erb
decidim-proposals-0.25.0.rc1 app/views/decidim/proposals/admin/proposal_answers/_form.html.erb
decidim-proposals-0.24.3 app/views/decidim/proposals/admin/proposal_answers/_form.html.erb
decidim-proposals-0.23.6 app/views/decidim/proposals/admin/proposal_answers/_form.html.erb
decidim-proposals-0.24.2 app/views/decidim/proposals/admin/proposal_answers/_form.html.erb
decidim-proposals-0.23.5 app/views/decidim/proposals/admin/proposal_answers/_form.html.erb
decidim-proposals-0.24.1 app/views/decidim/proposals/admin/proposal_answers/_form.html.erb
decidim-proposals-0.24.0 app/views/decidim/proposals/admin/proposal_answers/_form.html.erb
decidim-proposals-0.24.0.rc2 app/views/decidim/proposals/admin/proposal_answers/_form.html.erb
decidim-proposals-0.23.4 app/views/decidim/proposals/admin/proposal_answers/_form.html.erb
decidim-proposals-0.24.0.rc1 app/views/decidim/proposals/admin/proposal_answers/_form.html.erb