aboutsummaryrefslogtreecommitdiffstats
path: root/server/templates
diff options
context:
space:
mode:
authorAndrea Lepori <aleporia@gmail.com>2023-07-28 18:41:53 +0200
committerAndrea Lepori <aleporia@gmail.com>2023-07-28 18:41:54 +0200
commite4f13143282b51ed743d018b4b62956ccb0401a2 (patch)
treeb1c08d9d4d9f6d5b304683dbbf356634e3676167 /server/templates
parentimprove style admin page (diff)
downloadscout-subs-e4f13143282b51ed743d018b4b62956ccb0401a2.tar.gz
scout-subs-e4f13143282b51ed743d018b4b62956ccb0401a2.zip
fix incorrect user access for new uc
Diffstat (limited to '')
-rw-r--r--server/templates/server/download_doc.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/server/templates/server/download_doc.html b/server/templates/server/download_doc.html
index 4e48b2c..c5fa930 100644
--- a/server/templates/server/download_doc.html
+++ b/server/templates/server/download_doc.html
@@ -36,11 +36,11 @@
<br><br>
<div class="row">
<div class="input-field col l4 s12">
- <input placeholder=" " value="{{doc.0.user.first_name}}" id="first_name" type="text" >
+ <input placeholder=" " value="{{doc.0.usercode.first_name}}" id="first_name" type="text" >
<label class="active" for="first_name">Nome</label>
</div>
<div class="input-field col l4 s12">
- <input placeholder=" " value="{{doc.0.user.last_name}}" id="last_name" type="text" >
+ <input placeholder=" " value="{{doc.0.usercode.last_name}}" id="last_name" type="text" >
<label class="active" for="last_name">Cognome</label>
</div>
<div class="input-field col l4 s12">
@@ -48,7 +48,7 @@
<label class="active" for="birth_date">Data di nascita</label>
</div>
<div class="input-field col l4 s12">
- <input placeholder=" " value="{{doc.4}}" id="branca" type="text">
+ <input placeholder=" " value="{{doc.0.usercode.branca}}" id="branca" type="text">
<label class="active" for="branca">Branca</label>
</div>
<div class="input-field col l4 s12">