Sha256: 814145f11195493f65c9b05b475d85a39b4ac77192bc490181e84af396a6f61b

Contents?: true

Size: 1.34 KB

Versions: 7

Compression:

Stored size: 1.34 KB

Contents

<div class="component__show_notes" data-component="accordion" id="accordion-notes">
  <button class="card-divider-button" data-controls="panel-notes" type="button">
    <%= icon "arrow-right-s-line" %>
    <h2 class="card-title">
      <%= t("title", scope: "decidim.proposals.admin.proposal_notes") %>
    </h2>
  </button>
  <div id="panel-notes">
    <div class="component__show_notes-grid">
      <% proposal.notes.each do |note| %>
        <div class="comment">
          <div class="comment__header">
            <div class="author-data">
              <div class="author-data__main">
                <div class="author author--inline">
                  <strong><span class="author__name"><%= note.author.name %></span></strong>
                  <span><%= l note.created_at, format: :decidim_short %></span>
                </div>
              </div>
            </div>
          </div>
          <div class="comment__content">
            <%= simple_format note.body %>
          </div>
        </div>
      <% end %>
    </div>
    <div class="card add-comment">
      <div class="card-divider">
        <h2 class="card-title"><%= t("leave_your_note", scope: "decidim.proposals.admin.proposal_notes") %></h2>
      </div>
      <div class="card-section">
        <%= render "decidim/proposals/admin/proposal_notes/form" %>
      </div>
    </div>
  </div>
</div>

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
decidim-proposals-0.28.4 app/views/decidim/proposals/admin/proposal_notes/_proposal_notes.html.erb
decidim-proposals-0.28.3 app/views/decidim/proposals/admin/proposal_notes/_proposal_notes.html.erb
decidim-proposals-0.28.2 app/views/decidim/proposals/admin/proposal_notes/_proposal_notes.html.erb
decidim-proposals-0.28.1 app/views/decidim/proposals/admin/proposal_notes/_proposal_notes.html.erb
decidim-proposals-0.28.0 app/views/decidim/proposals/admin/proposal_notes/_proposal_notes.html.erb
decidim-proposals-0.28.0.rc5 app/views/decidim/proposals/admin/proposal_notes/_proposal_notes.html.erb
decidim-proposals-0.28.0.rc4 app/views/decidim/proposals/admin/proposal_notes/_proposal_notes.html.erb