Changeset a4764f9 in firmaeventos for eventos/templates
- Timestamp:
- Nov 21, 2017, 11:37:13 AM (7 years ago)
- Branches:
- master
- Children:
- 7c18408
- Parents:
- b8fffff
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
eventos/templates/register.event.html
r94b3e3f ra4764f9 11 11 // Django appears to generate the prefix from the lowercase plural 12 12 // name of the related model, with camel-case converted to underscores. 13 prefix: 'form' 13 prefix: 'form', 14 addText:'<i class="tiny material-icons prefix">add_circle_outline</i>Agregar Participante', 15 deleteText:'<i class="material-icons">delete_forever</i>', 14 16 }) 17 15 18 $('.datepicker').pickadate({ 16 19 selectMonths: true, // Creates a dropdown to control month … … 21 24 closeOnSelect: false, // Close upon selecting a date, 22 25 format: "dd/mm/yyyy", 26 // The title label to use for the month nav buttons 27 labelMonthNext: 'Mes siguiente', 28 labelMonthPrev: 'Mes anterior', 29 30 // The title label to use for the dropdown selectors 31 labelMonthSelect: 'Selecciona un mes', 32 labelYearSelect: 'Selecciona un año', 33 34 // Months and weekdays 35 monthsFull: [ 'Enero', 'Febrero', 'Marzo', 'Abril', 'Mayo', 'Junio', 'Julio', 'Agosto', 'Septiembre', 'Octubre', 'Noviembre', 'Diciembre' ], 36 monthsShort: [ 'Ene', 'Feb', 'Mar', 'Abr', 'May', 'Jun', 'Jul', 'Ago', 'Sep', 'Oct', 'Nov', 'Dic' ], 37 weekdaysFull: [ 'Domingo', 'Lunes', 'Martes', 'Miércoles', 'Jueves', 'Viernes', 'Sábado' ], 38 weekdaysShort: [ 'Dom', 'Lun', 'Mar', 'Mie', 'Jue', 'Vie', 'Sab' ], 39 40 // Materialize modified 41 weekdaysLetter: [ 'D', 'L', 'M', 'Mi', 'J', 'V', 'S' ], 42 43 // Today and clear 44 today: 'Hoy', 45 clear: 'Limpiar', 46 close: 'Ok', 23 47 }); 24 48 }) … … 29 53 <div class="content center"> 30 54 <h5>Datos del Evento</h5><hr/><br> 31 <form id="form" method="post" >55 <form id="form" method="post" enctype="multipart/form-data"> 32 56 {% csrf_token %} 33 57 <div class="input-field {% if form.nombre_evento.errors %}invalid{% endif %}"> … … 48 72 <div class="btn"> 49 73 <span for="icon_prefix {{ form.archivo.auto_id }}">Archivo</span> 50 <input type="file" >74 <input type="file" name="file" id="file" accept=".pdf"> 51 75 </div> 52 76 <div class="file-path-wrapper">
Note: See TracChangeset
for help on using the changeset viewer.