{% extends 'Franchise/base.html.twig' %} {% block title %}{{ 'app.manager.pages.colors.new.title'|trans }}{% endblock %} {% block toolbar_actions %} {{ 'app.global.buttons.add'|trans }} {% endblock %} {% block component_body %}
{% for color in colors %} {% else %} {% endfor %}
{{ 'app.manager.pages.colors.list.name'|trans }} {{ 'app.manager.pages.colors.list.color'|trans }} {{ 'app.global.fields.creation_date'|trans }}
{{ color.colorName.description }} {{ color.createdAt|date('d/m/Y H:i') }}
{{ link('edit','modal', 'success', {'entity-id' : color.id, 'entity-name' : color.colorName.name, 'modalId': 'foxorders_modal_form_franchise' }) }} {% include 'Includes/delete.html.twig' with { 'route': path('foxorders_franchise_color_delete', {'id': color.id}) , 'token': csrf_token('delete' ~ color.id), 'button': 'list_delete' } %}
{{ 'app.global.detail.no_record_found'|trans }}
{% endblock %} {% block modals %} {% include 'Modal/form.html.twig' with { 'title': 'app.manager.pages.socials.new.title'|trans, 'id': 'franchise', } %} {% endblock %} {% block stylesheets %} {% endblock %} {% block javascripts %} {{ parent() }} {% endblock %}