{% extends 'Franchise/base.html.twig' %} {% block title %}{{ 'app.manager.pages.socials.new.title'|trans }}{% endblock %} {% block toolbar_actions %} {{ 'app.global.buttons.add'|trans }} {% endblock %} {% block component_body %}
{% for social in socials %} {% else %} {% endfor %}
{{ 'app.global.fields.name'|trans }} {{ 'app.manager.pages.socials.label.link'|trans }} {{ 'app.global.fields.creation_date'|trans }}
{% set logo = getImage(socials_images ~ social.socialName.logo) %} Logo {{ social.socialName.description }} {{ social.createdAt|date('d/m/Y H:i') }}
{{ link('edit','modal', 'success', {'entity-id' : social.id, 'entity-name' : social.socialName.name, 'modalId': 'foxorders_modal_form_franchise' }) }} {% include 'Includes/delete.html.twig' with { 'route': path('foxorders_franchise_social_delete', {'id': social.id}), 'token': csrf_token('delete' ~ social.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 javascripts %} {{ parent() }} {% endblock %}