Sha256: 5d5c8ac505ab1b69bbcaef1cce1e168b0602ad7213ac08a94706cd265879f0dc

Contents?: true

Size: 1.48 KB

Versions: 3

Compression:

Stored size: 1.48 KB

Contents

<section class="comments">
  <div class="card">
    <div class="card-divider">
      <h2 class="card-title"><%= t("title", scope: "decidim.proposals.admin.proposal_notes") %></h2>
    </div>

    <div class="card-section">
      <div class="comment-thread">
        <% proposal.notes.each do |note| %>
          <div class="card">
            <div class="card-divider">
              <article 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">
                  <%= note.body %>
                </div>
              </article>
            </div>
          </div>
        <% end %>
      </div>
    </div>
    <div class="card-section">
      <div class="add-comment">
        <div class="card">
          <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 "form" %>
          </div>
        </div>
      </div>
    </div>
  </div>
</section>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
decidim-proposals-0.11.2 app/views/decidim/proposals/admin/proposal_notes/_proposal_notes.html.erb
decidim-proposals-0.11.1 app/views/decidim/proposals/admin/proposal_notes/_proposal_notes.html.erb
decidim-proposals-0.11.0.pre1 app/views/decidim/proposals/admin/proposal_notes/_proposal_notes.html.erb