get upload skel working
parent
24cfc1aa8c
commit
328f710734
@ -1,4 +1,27 @@
|
||||
{% extends 'base.html' %}
|
||||
{% block content %}
|
||||
<p>upload</p>
|
||||
{% endblock %}
|
||||
<form method="post" enctype=multipart/form-data class="form-horizontal">
|
||||
<div class="field">
|
||||
<label class="label">Title</label>
|
||||
<div class="control">
|
||||
<input class="input" type="text" placeholder="So there I was..." name="title">
|
||||
</div>
|
||||
</div>
|
||||
<div class="field">
|
||||
<label class="label">Text</label>
|
||||
<div class="control">
|
||||
<textarea class="textarea" placeholder="balls deep in a jar of mayonnaise" name="text"></textarea>
|
||||
</div>
|
||||
</div>
|
||||
<div class="field">
|
||||
<label class="label">Upload</label>
|
||||
<input type="file" name="file" multiple>
|
||||
</div>
|
||||
<div class="field is-grouped">
|
||||
<div class="control">
|
||||
<button class="button is-link">Submit</button>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
{% endblock %}
|
||||
|
||||
|
Loading…
Reference in New Issue