twig _insert_vue_address, rename mode create

This commit is contained in:
Mathieu Jaumotte 2021-09-17 10:43:59 +02:00
parent 4bafa83b65
commit 782f0bc332
4 changed files with 4 additions and 4 deletions

View File

@ -7,7 +7,7 @@
name: string
id: integer
}
* mode string ['edit*'|'create']
* mode string ['edit*'|'new']
* addressId integer
* backUrl twig route: path('route', {parameters})
* modalTitle twig translated chain

View File

@ -32,7 +32,7 @@
{% include '@ChillMain/Address/_insert_vue_address.html.twig' with {
targetEntity: { name: 'person', id: person.id },
backUrl: path('chill_person_address_list', { 'person_id': person.id }),
mode: 'create',
mode: 'new',
buttonSize: 'btn-lg',
buttonText: 'Add an address',
modalTitle: 'Add an address',

View File

@ -18,7 +18,7 @@
{% include '@ChillMain/Address/_insert_vue_address.html.twig' with {
targetEntity: { name: 'household', id: household.id },
backUrl: path('chill_person_household_address_move', { 'household_id': household.id }),
mode: 'create',
mode: 'new',
buttonSize: 'btn-lg',
buttonText: 'Move household',
modalTitle: 'Move household',

View File

@ -33,7 +33,7 @@
{% include '@ChillMain/Address/_insert_vue_address.html.twig' with {
targetEntity: { name: 'household', id: household.id },
backUrl: path('chill_person_household_addresses', { 'household_id': household.id }),
mode: 'create',
mode: 'new',
buttonSize: 'btn-sm',
buttonText: 'Move household',
modalTitle: 'Move household',