aboutsummaryrefslogtreecommitdiff
path: root/templates/admin_create.html
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2020-02-10 09:44:18 +0100
committerAlex Auvolat <alex@adnab.me>2020-02-10 09:44:18 +0100
commit9f891bdb9a41de73f5970219b2557b4039358a4f (patch)
tree703079e5b19a80dd74ed3b2f1495d89552ee3445 /templates/admin_create.html
parenta6114cda7cc145c9f8f2bb0d2f1fd47e94ae845c (diff)
downloadguichet-9f891bdb9a41de73f5970219b2557b4039358a4f.tar.gz
guichet-9f891bdb9a41de73f5970219b2557b4039358a4f.zip
Minor UI changes
Diffstat (limited to 'templates/admin_create.html')
-rw-r--r--templates/admin_create.html8
1 files changed, 4 insertions, 4 deletions
diff --git a/templates/admin_create.html b/templates/admin_create.html
index 3e636a5..6e5aef1 100644
--- a/templates/admin_create.html
+++ b/templates/admin_create.html
@@ -3,7 +3,7 @@
{{define "body"}}
<div class="d-flex">
<h4>Créer un objet</h4>
- <a class="ml-auto btn btn-info" href="/">Retour</a>
+ <a class="ml-auto btn btn-info" href="/">Menu principal</a>
</div>
<div class="mt-4">
@@ -36,7 +36,7 @@
</div>
<div class="form-group">
<label for="idtype">Type d'identifiant:</label>
- <input type="text" id="idtype" name="idtype" class="form-control" value="{{ .IdType }}" />
+ <input type="text" {{if .IsTemplated}}disabled="disabled"{{end}} id="idtype" name="idtype" class="form-control" value="{{ .IdType }}" />
</div>
<div class="form-group">
<label for="displayname">Nom:</label>
@@ -44,11 +44,11 @@
</div>
<div class="form-group">
<label for="soc">StructuralObjectClass:</label>
- <input type="text" id="soc" name="soc" class="form-control" value="{{ .StructuralObjectClass }}" />
+ <input type="text" {{if .IsTemplated}}disabled="disabled"{{end}} id="soc" name="soc" class="form-control" value="{{ .StructuralObjectClass }}" />
</div>
<div class="form-group">
<label for="oc">ObjectClass:</label>
- <textarea rows="5" id="oc" name="oc" class="form-control">{{ .ObjectClass }}</textarea>
+ <textarea rows="5" {{if .IsTemplated}}disabled="disabled"{{end}} id="oc" name="oc" class="form-control">{{ .ObjectClass }}</textarea>
</div>
<button type="submit" class="btn btn-primary">Créer l'objet</button>
</form>