This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{% extends "master.twig" %} | |
{% block titulo %}Editar nota | |
{% endblock %} | |
{% block contenido %} | |
<main class="container-fluid"> | |
<div class="row"> | |
<div class="col-12 col-sm-6"> | |
<h1 class="text-center">Editar nota</h1> | |
<form action="{{URL_RAIZ}}/notas/editar" method="post"> | |
{% include "componentes/sesion_flash.twig" %} | |
<input type="hidden" name="idNota" value="{{nota.id}}"> | |
<div class="form-group"> | |
<label for="contenido">Contenido</label> | |
<textarea class="form-control" cols="10" id="contenido" name="contenido" required rows="3">{{nota.contenido}}</textarea> | |
</div> | |
<button class="btn btn-success" type="submit">Guardar</button> | |
<a class="btn btn-warning" href="{{URL_RAIZ}}/notas">Ver notas</a> | |
</form> | |
</div> | |
</div> | |
</main> | |
{% endblock %} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment