Browse Source

[Backend] Correctif formulaire producteur

master
Guillaume 4 years ago
parent
commit
ccc38a831f
3 changed files with 2 additions and 5 deletions
  1. +1
    -1
      ShopBundle/Resources/public/js/backend/script/supplier/vuejs-supplier.js
  2. +1
    -1
      ShopBundle/Resources/views/backend/default/block/form_address.html.twig
  3. +0
    -3
      ShopBundle/Resources/views/backend/supplier/panel_general.html.twig

+ 1
- 1
ShopBundle/Resources/public/js/backend/script/supplier/vuejs-supplier.js View File

nameDisplay: 'SEO' nameDisplay: 'SEO'
} }
] ]
});
}, window.addressValues);
}, },
mounted: function () {}, mounted: function () {},
methods: { methods: {

+ 1
- 1
ShopBundle/Resources/views/backend/default/block/form_address.html.twig View File

<div id="lc-user-address" class="row"> <div id="lc-user-address" class="row">
<script> <script>
window.addressValues = { window.addressValues = {
{% if form.type.vars.value %}addressType: "{{ form.type.vars.value }}",{% endif %}
{% if form.type.vars.value %}addressType: '{{ form.type.vars.value }}'{% endif %}
}; };
</script> </script>



+ 0
- 3
ShopBundle/Resources/views/backend/supplier/panel_general.html.twig View File

<div class="col-12"> <div class="col-12">
{{ form_row(form.description) }} {{ form_row(form.description) }}
</div> </div>
<div class="col-12">
{{ form_row(form.user) }}
</div>
{{ macros.card_end() }} {{ macros.card_end() }}
</div> </div>
</div> </div>

Loading…
Cancel
Save