Sha256: d1230328b06bf851a2bb86fba457e7020ed958a385af92f14d28125278cb06ad

Contents?: true

Size: 1.55 KB

Versions: 6

Compression:

Stored size: 1.55 KB

Contents

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

    <div class="card-section">
      <div class="comment-thread">
        <% paragraph.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.enhanced_textwork.admin.paragraph_notes") %></h2>
          </div>
          <div class="card-section">
            <%= render "decidim/enhanced_textwork/admin/paragraph_notes/form" %>
          </div>
        </div>
      </div>
    </div>
  </div>
</section>

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
decidim-enhanced_textwork-1.0.5 app/views/decidim/enhanced_textwork/admin/paragraph_notes/_paragraph_notes.html.erb
decidim-enhanced_textwork-1.0.4 app/views/decidim/enhanced_textwork/admin/paragraph_notes/_paragraph_notes.html.erb
decidim-enhanced_textwork-1.0.3 app/views/decidim/enhanced_textwork/admin/paragraph_notes/_paragraph_notes.html.erb
decidim-enhanced_textwork-1.0.2 app/views/decidim/enhanced_textwork/admin/paragraph_notes/_paragraph_notes.html.erb
decidim-enhanced_textwork-1.0.1 app/views/decidim/enhanced_textwork/admin/paragraph_notes/_paragraph_notes.html.erb
decidim-enhanced_textwork-1.0.0 app/views/decidim/enhanced_textwork/admin/paragraph_notes/_paragraph_notes.html.erb