diff --git a/app/templates/admin_settings.html b/app/templates/admin_settings.html index 0e7b9ba..ea95b7e 100644 --- a/app/templates/admin_settings.html +++ b/app/templates/admin_settings.html @@ -59,7 +59,11 @@

{% trans "Settings" %}


- + {% if form.description.field.required %} + + {% else %} + + {% endif %} {% render_field form.description class='form-control' %}
{% if form.description.errors %} @@ -75,7 +79,11 @@ {% endif %}
- + {% if form.host.field.required %} + + {% else %} + + {% endif %} {% render_field form.host class='form-control' %}
{% if form.host.errors %} @@ -91,7 +99,11 @@ {% endif %}
- + {% if form.port.field.required %} + + {% else %} + + {% endif %}
{% render_field form.port class='form-control' onkeypress='campoNumerico(this,event);' %}
@@ -120,7 +132,11 @@

{% trans "Security and authentication" %}


- + {% if form.username.field.required %} + + {% else %} + + {% endif %} {% render_field form.username class='form-control' %}
{% if form.username.errors %} @@ -136,7 +152,11 @@
{% endif %}
- + {% if form.password.field.required %} + + {% else %} + + {% endif %} {% render_field form.password type='password' class='form-control' %}
{% if form.password.errors %} @@ -152,7 +172,11 @@ {% endif %}
- + {% if form.default_from_email.field.required %} + + {% else %} + + {% endif %} {% render_field form.default_from_email class='form-control' %}
{% if form.default_from_email.errors %} @@ -168,7 +192,11 @@ {% endif %}
-

{{ form.safe.connection.label }}

+ {% if form.safe_conection.fiel.required %} +

{{ form.safe_conection.label }}*

+ {% else %} +

{{ form.safe_conection.label }}

+ {% endif %}
{% for value, text in form.safe_conection.field.choices %} -- libgit2 0.21.2