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.
24 lines
727 B
24 lines
727 B
{% extends "layouts/app.html" %} |
|
{% block title %} |
|
{% lisp (title! "New member") %} |
|
{% endblock %} |
|
|
|
{% block content %} |
|
<h1>{% lisp (title!) %}</h1> |
|
<p>{{user}}</p> |
|
<p>{{errors}}</p> |
|
<form class="new-user" id="new-user" action="/user" method="post" |
|
enctype="multipart/form-data"> |
|
<!-- Method and Authenticity-token need to be in capitals --> |
|
<input name="AUTHENTICITY-TOKEN" type="hidden" value="{{token}}"/> |
|
<input name="METHOD" type="hidden" value="put" /> |
|
{{ new-user |
|
| lisp: (lambda (user) |
|
(rails-to-caveman.view::render "users/form.html" `(:user ,user))) |
|
| safe |
|
}} |
|
<div> |
|
<input type="submit" name="COMMIT" VALUE="{% filter i18n %}Create user{% endfilter %}" /> |
|
</div> |
|
</form> |
|
{% endblock %}
|
|
|