Skip to content

Commit

Permalink
Merge pull request #1 from ctzkane/master
Browse files Browse the repository at this point in the history
Fix bugs in document_create.html template
  • Loading branch information
paltman authored Feb 7, 2018
2 parents 048d030 + 767b362 commit f5b77ee
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,12 @@ <h2>

<form method="POST" action="{% url 'pinax_documents:document_create' %}" enctype="multipart/form-data">
{% csrf_token %}
{% for hidden_field in form.hidden_fields %}
{{ hidden_field.errors }}
{{ hidden_field }}
{% endfor %}
<label class="custom-file">
<input type="file" id="id_file" class="custom-file-input">
<input type="file" id="id_file" name="file" class="custom-file-input">
<span class="custom-file-control" data-file="Choose file..."></span>
</label>
<div class="form-actions">
Expand Down

0 comments on commit f5b77ee

Please sign in to comment.