summaryrefslogtreecommitdiffstats
path: root/templates/renameform.html
diff options
context:
space:
mode:
authorPhilip Sargent <philip.sargent@gmail.com>2023-07-31 22:00:46 +0300
committerPhilip Sargent <philip.sargent@gmail.com>2023-07-31 22:00:46 +0300
commit7fc058b1da96d66020abdfd8dd7791bc981733b5 (patch)
treec81bedede1d1ba2227d5b741712c18cd47bf1e85 /templates/renameform.html
parent8d9b320d8949c448e38ab6b836b2851ca412cb5e (diff)
downloadtroggle-7fc058b1da96d66020abdfd8dd7791bc981733b5.tar.gz
troggle-7fc058b1da96d66020abdfd8dd7791bc981733b5.tar.bz2
troggle-7fc058b1da96d66020abdfd8dd7791bc981733b5.zip
return to correct wallet
Diffstat (limited to 'templates/renameform.html')
-rw-r--r--templates/renameform.html9
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>