diff options
Diffstat (limited to 'archaeological_files_pdl/templates/ishtar/wizard/wizard_generalcontractor.html')
-rw-r--r-- | archaeological_files_pdl/templates/ishtar/wizard/wizard_generalcontractor.html | 38 |
1 files changed, 11 insertions, 27 deletions
diff --git a/archaeological_files_pdl/templates/ishtar/wizard/wizard_generalcontractor.html b/archaeological_files_pdl/templates/ishtar/wizard/wizard_generalcontractor.html index 34dc75b08..e43e336c4 100644 --- a/archaeological_files_pdl/templates/ishtar/wizard/wizard_generalcontractor.html +++ b/archaeological_files_pdl/templates/ishtar/wizard/wizard_generalcontractor.html @@ -1,31 +1,15 @@ -{% extends "ishtar/wizard/default_wizard.html" %} -{% load i18n range table_form %} -{% block wizard_form %} -<form action="." method="post" name='wizard'{% if wizard.form.file_upload %} enctype="multipart/form-data"{% endif %}>{% csrf_token %} -<div class='form'> -{{ wizard.form.media }} -{{ wizard.management_form }} +{% extends "ishtar/wizard/wizard_person_orga.html" %} -<table class='formset'> - <caption>Statut</caption> - <tr> - <th><label>{% trans "Corporation" %}</label></th> - <td><input type='radio' name='person_type' value='corporation'/></td> +{% block corporation %} + <tr class='required'> + <th>{{ wizard.form.raw_general_contractor.label_tag }}</th> + <td> {{ wizard.form.raw_general_contractor.errors }}{{wizard.form.raw_general_contractor|safe}}</td> </tr> - <tr> - <th><label>{% trans "Natural person" %}</label></th> - <td><input type='radio' name='person_type' value='natural'/></td> - </tr> -</table> - -<table> -{% table_form wizard.form %} -</table> -<input type="hidden" name="{{ step_field }}" value="{{ step0 }}" /> -{{ previous_fields|safe }} -{% block "validation_bar" %} -{% include 'ishtar/wizard/validation_bar.html' %} {% endblock %} -</div> -</form> + +{% block natural %} + <tr class='required'> + <th>{{ wizard.form.general_contractor.label_tag }}</th> + <td> {{ wizard.form.general_contractor.errors }}{{wizard.form.general_contractor|safe}}</td> + </tr> {% endblock %} |