src/templates/RegionProvinciaCantonParroquia/edit.html.twig line 1

Open in your IDE?
  1. {% extends "@crud\\crud\\edit.html.twig" %}
  2. {% block jquery %}
  3.     {#% include 'RegionProvinciaCantonParroquia\\jquery.html.twig' with {'prefix': 'form_'~routeClassName } %#}
  4.     {{ parent() }}
  5.     
  6.     
  7. {% endblock jquery %}
  8. {% block jquery_functions %}
  9.     {{ parent() }}
  10.     {% include 'RegionProvinciaCantonParroquia\\jquery_functions.html.twig' %}
  11.     
  12.         
  13. {% endblock jquery_functions %}
  14. {% block show_details %}
  15.     {% if routeClassName == 'basemovilizacion' or routeClassName == 'centromovilizacion' %}
  16.         {% set jefeClassName = routeClassName~'Jefes' %}
  17.         <div class="col-xs-12">
  18.             <div class="hr hr-dotted"></div>
  19.             <div class="panel panel-default">
  20.                 <div class="panel-heading">
  21.                     <h4 class="panel-title green">
  22.                         <a id="atab-1" aria-expanded="true" class="accordion-toggle" data-toggle="collapse" data-parent="#accordion" href="#collapseJefes">
  23.                             <i class="bigger-160 ace-icon fa fa-users" data-icon-hide="ace-icon fa fa-angle-down" data-icon-show="ace-icon fa fa-angle-right"></i>
  24.                             {% set title  = jefeClassName~'.plural' %}
  25.                             &nbsp;{{ title|trans({},'crud') }}
  26.                         </a>
  27.                     </h4>
  28.                 </div>
  29.                 <div style="" aria-expanded="true" class="panel-collapse collapse in " id="collapseJefes">
  30.                     <div class="panel-body" style="border-width: 1px; border-color: red">
  31.                         <div id="contenedor_{{jefeClassName}}">
  32.                             {% if routeClassName == 'basemovilizacion' %}
  33.                                 {{ render(controller('App\\Crud\\Controller\\crudPlainController::indexAction', {'rol':rol, 'routeClassName':jefeClassName,'idParent':entity.id, 'filterData':{'base' : entity.id}})) }}
  34.                             {% else %}
  35.                                 {{ render(controller('App\\Crud\\Controller\\crudPlainController::indexAction', {'rol':rol, 'routeClassName':jefeClassName,'idParent':entity.id, 'filterData':{'centro' : entity.id}})) }}
  36.                             {% endif %}
  37.                         </div>
  38.                     </div>
  39.                 </div>
  40.             </div>
  41.         </div>    
  42.     {% endif %}
  43. {% endblock show_details %}