<%= csrf_meta_tags %> <%= stylesheet_link_tag 'application' %> <%= javascript_include_tag 'application' %> <% if content_for(:header) == "false" %> <% elsif content_for?(:header) %> <%= content_for(:header) %> <% else %>
<%= link_to translated_attribute(current_participatory_space.title), resource_locator(current_participatory_space).path, target: "_blank" %>
<% end %>
<% if current_participatory_space.banner_image %>
<% end %>
<%= link_to model do%>
<%= content_for(:title) %>
<% end %> <% if model.try(:author) %> <% present(model.author) do |user| %>
<%= image_tag user.avatar_url %> <%= user.name %> <%= user.nickname %> <%= l model.created_at, format: "%d/%m/%Y" %>
<% end %> <% end %>
<%= yield %>
<%= render partial: "layouts/decidim/logo", locals: { organization: current_organization } %>
<%= javascript_include_tag 'decidim/widget' %>