diff --git a/src/ui/templates/account.html b/src/ui/templates/account.html index 5a75f8f66..af22b82d8 100644 --- a/src/ui/templates/account.html +++ b/src/ui/templates/account.html @@ -3,18 +3,15 @@ {% set pro_setting = {} %} {% for plugin in plugins %} {% if plugin.get('name')|lower == 'pro' %} - {% if pro_setting.update({'method' : plugin.get('method', 'ui')}) %}{% endif %} - - {% for setting, value in plugin.get('settings').items() %} - {% if setting == "PRO_LICENSE_KEY" %} - {% if pro_setting.update({'value' : value.get('value', '')}) %}{% endif %} - {% endif %} - {% endfor %} - + {% if pro_setting.update({'method' : plugin.get('method', 'ui')}) %}{% endif %} + {% for setting, value in plugin.get('settings').items() %} + {% if setting == "PRO_LICENSE_KEY" %} + {% if pro_setting.update({'value' : value.get('value', '')}) %}{% endif %} + {% endif %} + {% endfor %} {% endif %} {% endfor %} {% set attribute_name = "account" %} -
SETTINGS
@@ -161,7 +158,7 @@ name="license" class="col-span-12 regular-input" placeholder="enter new license key" - value="{{pro_setting.get('value', '')}}" + value="{{ pro_setting.get('value', '') }}" pattern="^.*$" required />