Add files via upload

This commit is contained in:
OscarRui 2021-05-05 22:31:17 +02:00 committed by GitHub
parent cdb9b25754
commit 1447369a16
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -51,15 +51,15 @@ class FormSession extends Form {
<input type="time" name="start" value="'.$start.'" placeholder="Hora de inicio" required/> <br> <input type="time" name="start" value="'.$start.'" placeholder="Hora de inicio" required/> <br>
<input type="date" name="date" value="'.$date.'" placeholder="Fecha de inicio" required/> <br> <input type="date" name="date" value="'.$date.'" placeholder="Fecha de inicio" required/> <br>
</fieldset> </fieldset>
<input type="number" name="repeat" value="" min="0" title="Añadir esta sesion durante los proximos X dias" min="0" max="31" placeholder="Añadir X dias"/> <br>
<input type="reset" value="Limpiar Campos" >
'; ';
if($data['option'] == "new_session") if($data['option'] == "new_session")
$htmlform .= '<button type="submit" name="new_session" class="button large">Crear</button><br>'; $htmlform .= '<input type="number" name="repeat" value="" min="0" title="Añadir esta sesion durante los proximos X dias" min="0" max="31" placeholder="Añadir X dias"/> <br>
<button type="submit" name="new_session" class="button large">Crear</button><br>';
if($data['option'] == "edit_session") if($data['option'] == "edit_session")
$htmlform .= '<button type="submit" name="edit_session" class="button large">Editar</button><br> $htmlform .= '<button type="submit" name="edit_session" class="button large">Editar</button><br>
<button type="submit" name="delete_session" class="primary">Borrar</button><br>'; <button type="submit" name="delete_session" class="primary">Borrar</button><br>';
$htmlform .= ' $htmlform .= '
<input type="reset" value="Limpiar Campos" >
</form> </form>
</div> </div>
<div class="column right"> <div class="column right">