diff options
Diffstat (limited to 'templates/renameform.html')
-rw-r--r-- | templates/renameform.html | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/templates/renameform.html b/templates/renameform.html index cda8bbf..aae489b 100644 --- a/templates/renameform.html +++ b/templates/renameform.html @@ -4,14 +4,21 @@ {% block content %} -<h2>Rename "{{filename}}"</h2> +<h2>Renaming "{{filename}}"</h2> <a href="/expofiles/{{filepath|urlencode}}"> <figure class=onleft> <img src="/expofiles/{{filepath|urlencode}}" width=150px> <figcaption>filesize: {{filesize}} bytes </figcaption> </figure></a> + {% if rename_bad %} + <p style="font-family: monospace; font-weight: bold; color: red; font-size: 130%; text-align: center"> + + Cannot rename to '{{rename_bad}}' as a file (or a subfolder) of that name already exists here. + </p> + {% endif %} <div style = "max-width:95%; margin-left:8%; text-align: left; " > + <form method ='post' > {% csrf_token %} <br> |