Sha256: 6e75173ffebde840355958f4a7e4f536cd7cc14f2353e9cedf05f3af4b031cf7

Contents?: true

Size: 975 Bytes

Versions: 1

Compression:

Stored size: 975 Bytes

Contents

<%= decidim_modal id: modal_id do %>
  <div data-dialog-container>
    <%= icon "edit-line" %>
    <h3 id="<%= modal_id %>-label" class="h3" tabindex="-1" data-dialog-title>
      <%= t("modal.title", scope: "decidim.reporting_proposals.admin.proposal_notes") %>
    </h3>
  </div>
  <div data-dialog-container>
    <%= decidim_form_for(notes_form,
                         url: note_path,
                         method: :patch,
                         html: { class: "form form-defaults edit_proposal_note" }) do |f| %>
      <div class="form__wrapper gap-2">
        <%= f.text_area :body, rows: 10, label: t("modal.body", scope: "decidim.reporting_proposals.admin.proposal_notes"), value: note_body %>
      </div>
      <div data-dialog-actions>
        <div class="button button__sm button__secondary">
          <%= f.submit t("modal.update", scope: "decidim.reporting_proposals.admin.proposal_notes") %>
        </div>
      </div>
    <% end %>
  </div>
<% end %>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
decidim-reporting_proposals-0.6.0 app/cells/decidim/reporting_proposals/edit_note_modal/show.erb