|
- <%inherit file="jm2l:templates/layout.mako"/>
- <%namespace name="helpers" file="jm2l:templates/helpers.mako"/>
- <%def name="jsAddOn()">
- <script src="/js/jm2l.js"></script>
- <script src="/vendor/ckeditor/ckeditor.js"></script>
- </%def>
- <%def name="cssAddOn()">
- <link rel="stylesheet" href="/vendor/fileupload/css/jquery.fileupload.css">
- <link rel="stylesheet" href="/vendor/fileupload/css/jquery.fileupload-ui.css">
- <link rel="stylesheet" href="/css/jm2l.css" />
- <!-- CSS adjustments for browsers with JavaScript disabled -->
- <noscript><link rel="stylesheet" href="/vendor/fileupload/css/jquery.fileupload-noscript.css"></noscript>
- <noscript><link rel="stylesheet" href="/vendor/fileupload/css/jquery.fileupload-ui-noscript.css"></noscript>
- </%def>
- <h3 class="page-title">Dossier de presse ${DisplayYear}</h3>
- <%
- DicForm = {
- 'year_uid': {'PlaceHolder':u"Mon Nom", "FieldStyle":"width:16em;", 'ContainerStyle':"float:left;"},
- 'doss_presse': {'PlaceHolder':u"Dossier de presse", "FieldStyle":"width:95%;min-height:600px;", "ckeditor":"1"},
- }
- %>
- <div>
- <form action="" method="POST">
- ${helpers.DisplayForm(form, DicForm)}
- <br>
- <div class="center">
- <button type="submit" class="btn btn-large btn-primary" />
- <i class="icon-ok icon-white"></i> Enregistrer
- </button>
- </div>
-
- </form>
- </div>
- <div class="center">
- ${helpers.uploader("presse", form.year_uid.data, u"Fichier" )}
- </div>
|