<%= present(@paragraph).title_if_enabled %>

<%= @paragraph.amendments.size %> <%= Decidim::Amendment.model_name.human(count: @paragraph.amendments.size) %>

<% if current_component.settings.amendments_enabled %> <%= link_to '#add_comment', class: 'link' do %> <%= icon "pencil", class: "icon--small", role: "img", "aria-hidden": true %> <%= t('decidim.enhanced_textwork.actions.add_amendment') %> <% end %> <% end %>
<% @amendments.each_with_index do |amendment, index| %>
2 %>"> <%= cell("decidim/enhanced_textwork/amendment", amendment) %>
<% end %> <% if @amendments.size > 3 %> <% end %>
<%= cell("decidim/enhanced_textwork/comments", @paragraph) %>