This repository has been archived on 2023-02-21. You can view files and clone it, but cannot push or open issues or pull requests.
formalad/skins/Avis/avissimplif_edit.pt

222 lines
11 KiB
XML

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US"
lang="en-US" i18n:domain="plone">
<body>
<!-- Body redefinition -->
<div metal:define-macro="body"
tal:define="portal_type portal_type|string:unknowntype">
<form name="edit_form"
method="post"
enctype="multipart/form-data"
class="enableUnloadProtection atBaseEditForm"
action=""
id=""
tal:attributes="action python:here.absolute_url()+'/'+template.id;
id string:${portal_type}-base-edit">
<metal:block define-slot="extra_top" />
<metal:block define-slot="widgets">
<!-- Main fields -->
<span metal:use-macro="python:here.widget('title', mode='edit')" />
<span metal:use-macro="python:here.widget('apType', mode='edit')" />
<span metal:use-macro="python:here.widget('apTitle', mode='edit')" />
<span metal:use-macro="python:here.widget('apDescription', mode='edit')" />
<fieldset style="border-width: 4px;"><legend><b>Les d&eacute;lais</b></legend>
<span metal:use-macro="python:here.widget('delai', mode='edit')" />
<span metal:use-macro="python:here.widget('delaiOrdre', mode='edit')" />
<span metal:use-macro="python:here.widget('delaiOrdreAnalyse', mode='edit')" />
<span metal:use-macro="python:here.widget('delaiRigueur', mode='edit')" />
<span metal:use-macro="python:here.widget('delaiRigueurAnalyse', mode='edit')" />
<span metal:use-macro="python:here.widget('delaiAccuse', mode='edit')" />
<span metal:use-macro="python:here.widget('delaiAccuseAnalyse', mode='edit')" />
</fieldset>
<fieldset style="border-width: 4px;"><legend>Les envois</legend>
<span metal:use-macro="python:here.widget('envoi', mode='edit')" />
<span metal:use-macro="python:here.widget('envoiTermes', mode='edit')" />
<span metal:use-macro="python:here.widget('envoiTermesAnalyse', mode='edit')" />
<span metal:use-macro="python:here.widget('envoiModalites', mode='edit')" />
<span metal:use-macro="python:here.widget('envoiModalitesAnalyse', mode='edit')" />
<span metal:use-macro="python:here.widget('envoiRecommande', mode='edit')" />
<span metal:use-macro="python:here.widget('envoiRecommandeAnalyse', mode='edit')" />
</fieldset>
<fieldset style="border-width: 4px;"><legend>Le principe de confiance</legend>
<span metal:use-macro="python:here.widget('piecesJustificatives', mode='edit')" />
<span metal:use-macro="python:here.widget('piecesJustificativesDemandees', mode='edit')" />
<span metal:use-macro="python:here.widget('piecesJustificativesDemandeesAnalyse', mode='edit')" />
<span metal:use-macro="python:here.widget('piecesJustificativesDemandeesRecommandations', mode='edit')" />
</fieldset>
<fieldset style="border-width: 4px;"><legend>La simultan&eacute;it&eacute; des textes</legend>
<span metal:use-macro="python:here.widget('simultaneite', mode='edit')" />
<span metal:use-macro="python:here.widget('simulRenvoi', mode='edit')" />
<span metal:use-macro="python:here.widget('simulRenvoiAnalyse', mode='edit')" />
</fieldset>
<fieldset style="border-width: 4px;"><legend>La communication aux usagers et administrations</legend>
<span metal:use-macro="python:here.widget('communication', mode='edit')" />
<span metal:use-macro="python:here.widget('simulCirculaire', mode='edit')" />
<span metal:use-macro="python:here.widget('simulCirculaireAnalyse', mode='edit')" />
<span metal:use-macro="python:here.widget('simulBrochure', mode='edit')" />
<span metal:use-macro="python:here.widget('simulBrochureAnalyse', mode='edit')" />
</fieldset>
<fieldset style="border-width: 4px;"><legend>La prise en compte des acteurs</legend>
<span metal:use-macro="python:here.widget('acteurs', mode='edit')" />
<span metal:use-macro="python:here.widget('acteursProcedure', mode='edit')" />
<span metal:use-macro="python:here.widget('acteursProcedureAnalyse', mode='edit')" />
<span metal:use-macro="python:here.widget('acteursImpact', mode='edit')" />
<span metal:use-macro="python:here.widget('acteursImpactAnalyse', mode='edit')" />
</fieldset>
<fieldset style="border-width: 4px;"><legend>Formulaires</legend>
<span metal:use-macro="python:here.widget('formulaires', mode='edit')" />
<span metal:use-macro="python:here.widget('formulairePrevu', mode='edit')" />
<span metal:use-macro="python:here.widget('formulairePrevuAnalyse', mode='edit')" />
<span metal:use-macro="python:here.widget('formulaireAttache', mode='edit')" />
<span metal:use-macro="python:here.widget('formulaireAttacheAnalyse', mode='edit')" />
</fieldset>
<fieldset style="border-width: 4px;"><legend>Charges administratives</legend>
<span metal:use-macro="python:here.widget('charges', mode='edit')" />
<span metal:use-macro="python:here.widget('chargesAnalyse', mode='edit')" />
</fieldset>
<fieldset style="border-width: 4px;"><legend>L'am&eacute;lioration de la r&eacute;glementation</legend>
<span metal:use-macro="python:here.widget('ameliorationReglementation', mode='edit')" />
<span metal:use-macro="python:here.widget('ameliorationReglementationExemples', mode='edit')" />
</fieldset>
<fieldset style="border-width: 4px;"><legend>Les mesures li&egrave;es &agrave; l'e-gouvernement</legend>
<span metal:use-macro="python:here.widget('egouv', mode='edit')" />
<span metal:use-macro="python:here.widget('egouvExemples', mode='edit')" />
</fieldset>
<fieldset style="border-width: 4px;"><legend>L'acc&egrave;s aux sources authentiques et partages de donn&eacute;es</legend>
<span metal:use-macro="python:here.widget('sources', mode='edit')" />
<span metal:use-macro="python:here.widget('sourcesAnalyse', mode='edit')" />
</fieldset>
</metal:block>
<metal:block define-slot="extra_bottom" />
<div class="formControls">
<input type="hidden"
name="fieldset"
value="default"
tal:attributes="value fieldset"
/>
<input type="hidden"
name="form.submitted"
value="1"
/>
<input type="hidden"
name="add_reference.field:record"
value=""
/>
<input type="hidden"
name="add_reference.type:record"
value=""
/>
<input type="hidden"
name="add_reference.destination:record"
value=""
/>
<tal:env define="env request/controller_state/kwargs">
<tal:loop repeat="varname python:('reference_source_url', 'reference_source_field', 'reference_source_fieldset')">
<tal:reference define="items python:env.get(varname, request.get(varname))"
condition="items">
<input tal:repeat="item items"
type="hidden"
name="form_env.reference_source_url:list:record"
value="value"
tal:attributes="value item;
name string:form_env.${varname}:list:record"
/>
</tal:reference>
</tal:loop>
</tal:env>
<tal:comment replace="nothing">
Turn 'persistent_' variables from controller_state persistent
</tal:comment>
<tal:env repeat="env request/controller_state/kwargs/items">
<input type="hidden"
name="key"
value="value"
tal:define="key python:env[0];
value python:env[1]"
tal:condition="python:key.startswith('persistent_')"
tal:attributes="name string:form_env.${key}:record;
value value"
/>
</tal:env>
<tal:comment replace="nothing">
Turn 'persistent_' variables from forms (GET/POST) persistent
</tal:comment>
<tal:env repeat="env request/form">
<input type="hidden"
name="key"
value="value"
tal:define="key env;
value request/?env"
tal:condition="python:key.startswith('persistent_')"
tal:attributes="name string:form_env.${key}:record;
value value"
/>
</tal:env>
<tal:comment replace="nothing">
Store referrer to remember where to go back
</tal:comment>
<input type="hidden"
name="last_referer"
tal:define="last_referer python:here.session_restore_value('HTTP_REFERER', request.form.get('last_referer', request.get('HTTP_REFERER')))"
tal:attributes="value python:(last_referer and '%s/%s' % (here.absolute_url(), template.id) not in last_referer) and last_referer or (here.getParentNode() and here.getParentNode().absolute_url())"
/>
<metal:block define-slot="buttons"
tal:define="fieldset_index python:fieldsets.index(fieldset);
n_fieldsets python:len(fieldsets)">
<input class="context"
tabindex=""
type="submit"
name="form_submit"
value="Save"
i18n:attributes="value label_save;"
tal:attributes="tabindex tabindex/next;
disabled python:test(isLocked, 'disabled', None);"
/>
<input class="standalone"
tabindex=""
type="submit"
name="form.button.cancel"
value="Cancel"
i18n:attributes="value label_cancel;"
tal:attributes="tabindex tabindex/next"
/>
</metal:block>
<metal:block define-slot="extra_buttons" />
</div>
</form>
</div>
</body>
</html>