% context ||= @team %> <% hide_actions ||= false %> <% hide_back ||= false %> <%= updates_for context, :scaffolding_absolutely_abstract_creative_concepts do %> <%= render 'account/shared/box' do |p| %> <% p.content_for :title, t(".contexts.#{context.class.name.underscore}.header") %> <% p.content_for :description do %> <%= t(".contexts.#{context.class.name.underscore}.#{creative_concepts.any? ? 'description' : 'description_empty'}") %> <% end %> <% if creative_concepts.any? %> <% p.content_for :table do %>
<%= t('.fields.name.heading') %> | <%= t('.fields.all_collaborators.heading') %> | <%# 🚅 super scaffolding will insert new field headers above this line. %><%= t('.fields.created_at.heading') %> | |
---|---|---|---|
<%= render 'shared/attributes/text', attribute: :name, url: [:account, creative_concept] %> | <%= render 'account/shared/memberships/photos', memberships: creative_concept.all_collaborators, size: 9, align: :center %> | <%# 🚅 super scaffolding will insert new fields above this line. %><%= display_date_and_time(creative_concept.created_at) %> | <% unless hide_actions %> <%= link_to t('.buttons.shorthand.edit'), [:edit, :account, creative_concept], class: 'button-secondary button-smaller' if can? :edit, creative_concept %> <%= button_to t('.buttons.shorthand.destroy'), [:account, creative_concept], method: :delete, data: { confirm: t('.buttons.confirmations.destroy', model_locales(creative_concept)) }, class: 'button-secondary button-smaller' if can? :destroy, creative_concept %> <% end %> |