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.
16 lines
493 B
16 lines
493 B
{% extends "layouts/app.html" %} |
|
|
|
{% block title %}{% lisp (title! "Add image") %}{% endblock %} |
|
|
|
{% block content %} |
|
<h1>{% lisp (title!) %}</h1> |
|
<h2>{{entry.title}}</h2> |
|
|
|
<form action="/entries/{{entry.id}}/images" method="post" enctype="multipart/form-data"> |
|
<input type="hidden" name="AUTHENTICITY-TOKEN" value="{{token}}"> |
|
<input type="hidden" name="METHOD" value="put"> |
|
{% include "entry-images/form.html" %} |
|
<div><input type="submit" value="Add"/></div> |
|
</form> |
|
|
|
{% endblock %}
|
|
|