Commit a2af2f10 authored by BERJON Matthieu's avatar BERJON Matthieu
Browse files

Adding a owner help text to the webapp form update

I added a help text just on the owner to keep a trace for the future
fusion between both webapp creation and update forms.

See also: #273

Signed-off-by: BERJON Matthieu's avatarMatthieu Berjon <>
parent 44c74d10
......@@ -58,7 +58,7 @@ class UserWebappForm(forms.ModelForm):
description = forms.CharField(widget=forms.Textarea, label_suffix='')
contact = forms.EmailField(required=False, label="Contact", label_suffix='')
notebook_gitrepo = forms.URLField(required=False, label="Notebook repository", label_suffix="")
owner = forms.CharField(required=False, label="Owner", label_suffix='')
owner = forms.CharField(required=False, label="Owner", label_suffix='', help_text="Username of the new owner of the application. You will immediately loose access to the application.")
tags = TagField(label_suffix='')
memory_limit_mb = forms.IntegerField(label="Memory limit", label_suffix='',
......@@ -40,7 +40,8 @@
<div class="form-group">
{{ form.owner.label_tag }}
{{ form.owner | attr:"placeholder:Enter the owner username" | add_class:"form-control" }}
{{ form.owner | attr:"placeholder:Enter the new owner username" | add_class:"form-control" }}
<small class="form-text text-muted">{{ form.owner.help_text }}</small>
<div class="form-group">
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment