mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-21 15:13:50 +00:00
household address: init vue component for household address
This commit is contained in:
@@ -9,14 +9,17 @@
|
||||
|
||||
<div>
|
||||
<h2>Select an existing address</h2>
|
||||
TODO: select of existing address !?
|
||||
TODO: select of existing address ?
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<h2>Create a new address</h2>
|
||||
<div id="address"></div>
|
||||
</div>
|
||||
|
||||
|
||||
<div>
|
||||
<h2>Add the address to the household</h2>
|
||||
<div id="household-address"></div>
|
||||
</div>
|
||||
|
||||
{% block stylesheets %}
|
||||
@@ -24,7 +27,11 @@
|
||||
{% endblock %}
|
||||
|
||||
{% block js %}
|
||||
{{ encore_entry_script_tags('address') }}
|
||||
<script type="text/javascript">
|
||||
window.householdId = {{ household.id|e('js') }};
|
||||
window.vueRootComponent = 'app';
|
||||
</script>
|
||||
{{ encore_entry_script_tags('household_address') }}
|
||||
{% endblock %}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user