11 lines
521 B
HTML
11 lines
521 B
HTML
<h2>Create [[ name ]]</h2>
|
|
<form action="{{ url_for('create_[[ name|camel_to_snake ]]') }}" method="post">
|
|
<input type="hidden" name="_next" value="{{ url_for('list_[[ name|camel_to_snake ]]') }}"/>
|
|
[%- for column in columns %]
|
|
<label for="input-[[ name|camel_to_snake ]]-[[ column.name ]]">[[ column.name ]]</label>:
|
|
<input id="input-[[ name|camel_to_snake ]]-[[ column.name ]]"
|
|
type="text" name="[[ column.name ]]" autocomplete="off"
|
|
/>
|
|
[%- endfor %]
|
|
<input type="submit">
|
|
</form> |