Sha256: a56de70c72353ea9a4e34825e490fd89ab164159e9b8c46a97fd15a4ba5439bc

Contents?: true

Size: 673 Bytes

Versions: 6

Compression:

Stored size: 673 Bytes

Contents

<% add_decidim_page_title(t("changes_at_title", scope: "decidim.version.show", title: versioned_resource.title)) %>
<% add_decidim_page_title(t("decidim.enhanced_textwork.versions.index.title")) %>
<%
if versioned_resource.is_a?(Decidim::EnhancedTextwork::CollaborativeDraft)
  add_decidim_page_title(Decidim::EnhancedTextwork::CollaborativeDraft.model_name.human(count: 2))
end
%>

<div class="row">
  <%= cell(
    "decidim/version",
    current_version,
    index: params[:id],
    versioned_resource: versioned_resource,
    versions_path: proc { url_for(action: :index) },
    i18n_scope: "decidim.enhanced_textwork.versions.#{item_name.to_s.pluralize}"
  ) %>
</div>

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
decidim-enhanced_textwork-1.0.5 app/views/decidim/enhanced_textwork/versions/show.html.erb
decidim-enhanced_textwork-1.0.4 app/views/decidim/enhanced_textwork/versions/show.html.erb
decidim-enhanced_textwork-1.0.3 app/views/decidim/enhanced_textwork/versions/show.html.erb
decidim-enhanced_textwork-1.0.2 app/views/decidim/enhanced_textwork/versions/show.html.erb
decidim-enhanced_textwork-1.0.1 app/views/decidim/enhanced_textwork/versions/show.html.erb
decidim-enhanced_textwork-1.0.0 app/views/decidim/enhanced_textwork/versions/show.html.erb