Sha256: 41d085309014fc6b4c2abb009fb3378c3c855a22698a3137b1b65cc31919a455
Contents?: true
Size: 1.2 KB
Versions: 62
Compression:
Stored size: 1.2 KB
Contents
<% context ||= @team %> <% hide_actions ||= false %> <% hide_back ||= false %> <% with_attribute_settings object: creative_concept do %> <tr data-id="<%= creative_concept.id %>"> <td><%= render 'shared/attributes/text', attribute: :name, url: [:account, creative_concept] %></td> <%# 🚅 super scaffolding will insert new fields above this line. %> <td><%= display_date_and_time(creative_concept.created_at) %></td> <td class="buttons"> <% unless hide_actions %> <%# We write the full path here since this partial is called from different scopes. %> <%= link_to t('account.scaffolding.absolutely_abstract.creative_concepts.buttons.shorthand.edit'), [:edit, :account, creative_concept], class: 'button-secondary button-smaller' if can? :edit, creative_concept %> <%= button_to t('account.scaffolding.absolutely_abstract.creative_concepts.buttons.shorthand.destroy'), [:account, creative_concept], method: :delete, data: { confirm: t('account.scaffolding.absolutely_abstract.creative_concepts.buttons.confirmations.destroy', model_locales(creative_concept)) }, class: 'button-secondary button-smaller' if can? :destroy, creative_concept %> <% end %> </td> </tr> <% end %>
Version data entries
62 entries across 62 versions & 1 rubygems