{% extends "base.html" %} {% block title %} {% if license %} Edit {{ license.name }} {% else %} New license {% endif %} {% endblock %} {% block content %} New License Back to list {% from "macros/forms.html" import render_field, render_checkbox_field, render_submit_field %} {{ form.hidden_tag() }} {{ render_field(form.name) }} {{ render_checkbox_field(form.is_foss) }} {{ render_field(form.url) }} {{ render_submit_field(form.submit) }} {% endblock %}