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.
26 lines
584 B
26 lines
584 B
2 years ago
|
{% extends "layouts/app.html" %}
|
||
|
{% block title %}
|
||
|
{% lisp (title! "Edit User") %}
|
||
|
{% endblock %}
|
||
|
|
||
|
{% block content %}
|
||
|
<h1>{% lisp (title!) %}</h1>
|
||
|
|
||
|
<div class="toolbar">
|
||
|
<a href="/users/{{user.id}}">Back to user detail</a>
|
||
|
</div>
|
||
|
|
||
|
<form class="edit-user" id="edit-user"
|
||
|
action="/user/{{user.id}}" method="post">
|
||
|
<input name="_method" type="hidden" value="patch"/>
|
||
|
<input name="authenticity-token" type="hidden" value="{{token}}"/>
|
||
|
|
||
|
{% include "users/form.html" %}
|
||
|
|
||
|
<div>
|
||
|
<input type="submit" name="commit" value="edit user"/>
|
||
|
</div>
|
||
|
|
||
|
</form>
|
||
|
{% endblock %}
|