{intl l="Sorry, attribute ID=$attribute_id was not found."}
{/elseloop}
{* Adding a new attribute *}
{form name="thelia.admin.attribute-value.creation"}
{* Capture the dialog body, to pass it to the generic dialog *}
{capture "creation_dialog"}
{form_hidden_fields form=$form}
{* Be sure to get the attribute ID, even if the form could not be validated *}
{form_field form=$form field='success_url'}
{* on success, redirect to this page *}
{/form_field}
{form_field form=$form field='attribute_id'}
{/form_field}
{form_field form=$form field='title'}