{% extends '@Core/base.html.twig' %} {% block sectionTitle %}Campañas de cupones por código {% endblock %} {% block sectionActions %} {% endblock %} {% block breadcrumbLinks %}
  • Menú de clientes
  • Campañas de coupones por código
  • Editar
  • {% endblock %} {% block content %} {% form_theme form 'bootstrap_3_layout.html.twig' %} {{ form_start(form) }} {{ form_errors(form) }}
    {{ form_row(form.name, { 'attr': {'tabindex': '1'} }) }}
    {{ form_row(form.code, { 'attr': {'tabindex': '2','maxlength': '20'} }) }}
    {{ form_row(form.applications, { 'attr': {'tabindex': '2','maxlength': '20'} }) }}
    {{ form_row(form.dateStart, { 'attr': {'tabindex': '3'} }) }}
    {{ form_row(form.dateEnd, { 'attr': {'tabindex': '4'} }) }}
    {{ form_row(form.typeDiscount, { 'attr': {'tabindex': '8'} }) }}
    {{ form_row(form.amount, { 'attr': {'tabindex': '9'} }) }}
    {{ form_row(form.shops, { 'attr': {'tabindex': '5'} }) }}
    {{ form_row(form.labelWebsiteName, { 'attr': {'tabindex': '7'} }) }}
    {{ form_row(form.isAvailableOnWebsite, { 'attr': {'tabindex': '6'} }) }}
    {% if roleRight == true %} {% endif %}
    {% if coupon is defined %}
    {% endif %}
    {{ form_end(form) }} {% for flash_message in app.session.flashBag.get('success') %}
    {{ flash_message }}
    {% endfor %} {% endblock%}