Skip to content

Instantly share code, notes, and snippets.

@gustavcaves
Forked from hcosta/page_form.html
Created March 14, 2021 21:14
Show Gist options
  • Save gustavcaves/0a195ac3d2c0ddb08c9465f108cf153f to your computer and use it in GitHub Desktop.
Save gustavcaves/0a195ac3d2c0ddb08c9465f108cf153f to your computer and use it in GitHub Desktop.
Versión 1
{% extends 'core/base.html' %}
{% load static %}
{% block title %}Crear página{% endblock %}
{% block content %}
{% include 'pages/includes/pages_menu.html'%}
<main role="main">
<div class="container">
<div class="row mt-3">
<div class="col-md-9 mx-auto">
<div>
<form action="" method="post">{% csrf_token %}
<table>
{{ form.as_table }}
</table>
<br>
<input type="submit" value="Crear página" />
</form>
</div>
</div>
</div>
</div>
</main>
{% endblock %}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment