<%inherit file="jm2l:templates/layout.mako"/> <%namespace name="helpers" file="jm2l:templates/helpers.mako"/> <%def name="cssAddOn()">
Editer les catégories
% if 'uid' in form._fields: ${form.uid} %endif <% DicForm = { 'name': {'PlaceHolder':u"Nom", 'ContainerStyle':"padding-right:5px;float:left;width:35em;", "FieldStyle":"width:31em;"}, 'tiers_type': {'PlaceHolder':u"Nature", 'ContainerStyle':"padding-right:5px;", "FieldStyle":"width:15em;"}, 'description': {'PlaceHolder':u"Description", 'ContainerStyle':"padding-right:5px;padding-top: 20px;", "FieldStyle":"width:90%;min-height:150px;" }, 'website': {'PlaceHolder':u"Site web", 'ContainerStyle':"padding-right:15px;", 'ContainerStyle':"width:30em;"}, 'membership': {'Ignore':True} } %> ${helpers.DisplayForm(form, DicForm)} % if 'uid' in form._fields:
Acteurs
% for num, dicdata in enumerate(form._fields.get("membership").data): % endfor
Année Personne Rôle Action
Suppr.
${dicdata.get('year_uid')}
<% tmpUser = DBUser.by_id(dicdata.get('user_uid')) %> % if tmpUser:
${tmpUser.prenom} ${tmpUser.nom}
% endif
${dicdata.get('role', 'Aucun')}
Edit. Suppr.
Ajouter
% endif % if 'uid' in form._fields: % else: % endif
% if 'uid' in form._fields: % if request.user:
Support liés

En plus de vos support de présentation classique. Pensez aussi aux affiches, aux flyers, aux stickers, au bulletin d'adhésion à une association, à la documentation technique... Tous ce qui peut être utile, de près ou de loin à la promotion de votre évenement.

${helpers.uploader("tiers", form.uid.data, u"fichiers" )}
% else:
NB: Vous devez être identifié afin de proposer du contenu. % endif % else:
NB: Vous devez proposer votre entité avant de pouvoir téléverser des fichiers la concernant. % endif
<%def name="jsAddOn()">