Skip to content

Instantly share code, notes, and snippets.

Created July 29, 2019 23:37
What would you like to do?
{% 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="{{}}">
<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>
<button class="btn btn-success" type="submit">Guardar</button>
<a class="btn btn-warning" href="{{URL_RAIZ}}/notas">Ver notas</a>
{% endblock %}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment