<% if current_folder&.name && @inline_editable_title_config.present? %>
<%= render partial: "shared/inline_editing",
locals: {
initial_value: current_folder.name,
config: @inline_editable_title_config
} %>
<% else %>
<%= current_folder&.name || t('projects.index.head_title') %>
<% end %>
<%= current_folder&.name || t('projects.index.head_title_archived') %>