Skip to content

Instantly share code, notes, and snippets.

@parzibyte
Created March 30, 2021 01:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save parzibyte/96c43e344b802c6ec862296b2d174e2a to your computer and use it in GitHub Desktop.
Save parzibyte/96c43e344b802c6ec862296b2d174e2a to your computer and use it in GitHub Desktop.
{% extends "maestra.html" %}
{% block titulo %}
Agregar juego
{% endblock %}
{% block contenido %}
<section class="section">
<div class="columns">
<div class="column">
<h3 class="is-size-3">Agregar juego</h3>
<form action="{{url_for('guardar_juego')}}" method="post">
<label for="nombre">Nombre:</label>
<input required type="text" class="input" placeholder="Nombre" name="nombre" id="nombre">
<label for="descripcion">Descripción</label>
<input required type="text" class="input" placeholder="Descripción" name="descripcion" id="descripcion">
<label for="precio">Precio</label>
<input required type="number" class="input" placeholder="Precio" name="precio" id="precio">
<button type="submit" class="button is-success mt-2">Guardar</button>
<a href="{{url_for('juegos')}}" class="button is-primary mt-2">Volver</a>
</form>
</div>
</div>
</section>
{% endblock %}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment