{* DELETE modal *}
{capture "cities_delete"}
    {intl l="Do you really want to remove this city ?" d="livraisonparsecteurs"}
    <input type="hidden" name="area-cities_id" id="attr-cities-id-remove" value=""/>
    <input type="hidden" name="area_id" value="{$smarty.get.area_id}"/>
    <input type="hidden" name="success_url" value="{url path="/admin/module/LivraisonParSecteurs/edit?area_id={$area_id}#cities"}"/>
{/capture}

{include file="includes/generic-confirm-dialog.html"
dialog_id       = "area-cities-remove"
dialog_title    = {intl l="Delete a city from this area" d="livraisonparsecteurs"}
dialog_message  = {$smarty.capture.cities_delete nofilter}
dialog_ok_label     = {intl l="Delete"}
dialog_cancel_label = {intl l="Cancel"}
form_action         = {token_url path='/admin/module/LivraisonParSecteurs/city/remove'}
}


{* CREATE Modal *}
{form name="lps-area-cities-add"}
    {capture "cities_add"}
        {include file="form/area-cities-add.html" form_name="lps-area-cities-add" area_id=$smarty.get.area_id}
    {/capture}

    {include file="includes/generic-create-dialog.html"
    dialog_id       = "area-cities-add"
    dialog_title    = {intl l="Add a new city" d="livraisonparsecteurs"}
    dialog_body     = {$smarty.capture.cities_add nofilter}
    dialog_ok_label     = {intl l="Create"}
    dialog_cancel_label = {intl l="Cancel"}
    form_action        = {url path="admin/module/LivraisonParSecteurs/city/add"}
    form_enctype       = {form_enctype form=$form}
    }
{/form}
