diff options
author | Andrew Godwin | 2022-12-02 04:02:38 -0700 |
---|---|---|
committer | Andrew Godwin | 2022-12-02 04:02:38 -0700 |
commit | 9f3ad0be16d556a36ac48ffbd461a31873c78055 (patch) | |
tree | e890d0546cd7f3f982b884572dbd88be3bbc9df7 /templates/forms | |
parent | 630c9df113a82d57325083057ca913b478aa1eb6 (diff) | |
download | takahe-9f3ad0be16d556a36ac48ffbd461a31873c78055.tar.gz takahe-9f3ad0be16d556a36ac48ffbd461a31873c78055.tar.bz2 takahe-9f3ad0be16d556a36ac48ffbd461a31873c78055.zip |
Don't allow file uploads bigger than 10MB
Diffstat (limited to 'templates/forms')
-rw-r--r-- | templates/forms/_field.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/forms/_field.html b/templates/forms/_field.html index 41f59d8..d101889 100644 --- a/templates/forms/_field.html +++ b/templates/forms/_field.html @@ -17,7 +17,7 @@ {% endif %} {{ field }} </div> - {% if field.field.widget.input_type == "file" and field.value%} + {% if field.field.widget.input_type == "file" and field.value %} <img class="preview" src="{{ field.value }}"> {% endif %} </div> |