+ {intl l="Sorry, feature ID=$feature_id was not found."}
+
+
+
+ {/elseloop}
+
+
+
+
+{* Adding a new feature *}
+
+{form name="thelia.admin.featureav.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 feature 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='feature_id'}
+
+ {/form_field}
+
+ {form_field form=$form field='title'}
+
+
+{* Adding a new feature *}
+
+{form name="thelia.admin.feature.creation"}
+
+ {* Capture the dialog body, to pass it to the generic dialog *}
+ {capture "creation_dialog"}
+ {form_hidden_fields form=$form}
+
+ {form_field form=$form field='success_url'}
+ {* on success, redirect to the edition page, _ID_ is replaced with the created feature ID, see controller *}
+
+ {/form_field}
+
+ {form_field form=$form field='title'}
+