app/views/admin/university/people/categories/static.html.erb
<%
# this version has to incremented every time you change something in the file, to invalidate the cache
version = 3
# Pas dans le controller parce que ça se fait dans les background jobs, à partir du @about
category = @l10n.about
cache [@about, category, @l10n, @website.id, version] do
%>
---
<%= render 'admin/application/static/core', about: @l10n %>
<%= render 'admin/application/static/breadcrumbs', about: @l10n %>
<%= render 'admin/application/static/design',
about: category,
l10n: @l10n,
full_width: true,
toc_offcanvas: true %>
position: <%= category.position %>
is_taxonomy: <%= category.is_taxonomy %>
<%= render 'admin/application/l10n/static', about: @l10n %>
---
<% end %>