Sha256: c2ba885c2d87e4940a31991e575c4ca5c85cf0032cd7731a8fc4bd160e7bfb27

Contents?: true

Size: 1.52 KB

Versions: 46

Compression:

Stored size: 1.52 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">
              <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>
            </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 "decidim/proposals/admin/proposal_notes/form" %>
          </div>
        </div>
      </div>
    </div>
  </div>
</section>

Version data entries

46 entries across 46 versions & 1 rubygems

Version Path
decidim-proposals-0.27.9 app/views/decidim/proposals/admin/proposal_notes/_proposal_notes.html.erb
decidim-proposals-0.27.8 app/views/decidim/proposals/admin/proposal_notes/_proposal_notes.html.erb
decidim-proposals-0.27.7 app/views/decidim/proposals/admin/proposal_notes/_proposal_notes.html.erb
decidim-proposals-0.27.6 app/views/decidim/proposals/admin/proposal_notes/_proposal_notes.html.erb
decidim-proposals-0.26.10 app/views/decidim/proposals/admin/proposal_notes/_proposal_notes.html.erb
decidim-proposals-0.26.9 app/views/decidim/proposals/admin/proposal_notes/_proposal_notes.html.erb
decidim-proposals-0.27.5 app/views/decidim/proposals/admin/proposal_notes/_proposal_notes.html.erb
decidim-proposals-0.26.8 app/views/decidim/proposals/admin/proposal_notes/_proposal_notes.html.erb
decidim-proposals-0.27.4 app/views/decidim/proposals/admin/proposal_notes/_proposal_notes.html.erb
decidim-proposals-0.27.3 app/views/decidim/proposals/admin/proposal_notes/_proposal_notes.html.erb
decidim-proposals-0.26.7 app/views/decidim/proposals/admin/proposal_notes/_proposal_notes.html.erb
decidim-proposals-0.26.5 app/views/decidim/proposals/admin/proposal_notes/_proposal_notes.html.erb
decidim-proposals-0.27.2 app/views/decidim/proposals/admin/proposal_notes/_proposal_notes.html.erb
decidim-proposals-0.27.1 app/views/decidim/proposals/admin/proposal_notes/_proposal_notes.html.erb
decidim-proposals-0.26.4 app/views/decidim/proposals/admin/proposal_notes/_proposal_notes.html.erb
decidim-proposals-0.27.0 app/views/decidim/proposals/admin/proposal_notes/_proposal_notes.html.erb
decidim-proposals-0.26.3 app/views/decidim/proposals/admin/proposal_notes/_proposal_notes.html.erb
decidim-proposals-0.27.0.rc2 app/views/decidim/proposals/admin/proposal_notes/_proposal_notes.html.erb
decidim-proposals-0.27.0.rc1 app/views/decidim/proposals/admin/proposal_notes/_proposal_notes.html.erb
decidim-proposals-0.26.2 app/views/decidim/proposals/admin/proposal_notes/_proposal_notes.html.erb