a small relational database with user-editable schema for manual data entry
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
yopa/yopa-web/resources/templates/models/model_create.html.tera

25 lines
579 B

{% extends "_layout" %}
4 years ago
{% import "_form_macros" as form %}
{% block title -%}
Define object
{%- endblock %}
{% block nav -%}
4 years ago
<a href="/" class="btn btn-link"><i class="icon icon-home"></i>Home</a>
{%- endblock %}
{% block content -%}
<form action="/model/object/create" method="POST">
4 years ago
{{ form::header_with_save_button(heading="Define new object model") }}
4 years ago
<div class="form-horizontal container">
{{ form::text(name="name", label="Name", value=old.name) }}
{{ form::integer(name="sort_key", label="Sort order", value=old.sort_key) }}
4 years ago
</div>
</form>
{%- endblock %}