wip: login, auth working, still need refactoring
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
<div class="ui container">
|
||||
<h1>Update {{item_model.name}} in {{item_info.name}}</h1>
|
||||
{% set fields = item_info.fields %}
|
||||
{% set form = { 'action': item.change_url } %}
|
||||
{% set form = { 'action': item.change_url, 'method': 'PATCH' } %}
|
||||
{% include "/admin/items/item_change_form.jinja" %}
|
||||
</div>
|
||||
{% endblock content %}
|
||||
@@ -24,11 +24,11 @@
|
||||
<legend>User login</legend>
|
||||
<p>
|
||||
<label for="username">Username</label>
|
||||
<input name="username" id="username" value="ferris" />
|
||||
<input name="username" id="username" value="admin" />
|
||||
</p>
|
||||
<p>
|
||||
<label for="password">Password</label>
|
||||
<input name="password" id="password" type="password" value="hunter42" />
|
||||
<input name="password" id="password" type="password" value="admin" />
|
||||
</p>
|
||||
</fieldset>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user