nodebb-theme-persona 13.3.5 → 13.3.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nodebb-theme-persona",
3
- "version": "13.3.5",
3
+ "version": "13.3.6",
4
4
  "nbbpm": {
5
5
  "compatibility": "^3.5.0"
6
6
  },
@@ -10,8 +10,7 @@
10
10
  {{{ if allowLocalLogin }}}
11
11
  <div class="{{{ if alternate_logins }}}col-md-6{{{ else }}}col-md-12{{{ end }}}">
12
12
  <div class="login-block">
13
- <div class="alert alert-danger alert-dismissible" id="login-error-notify" {{{ if error }}}style="display:block"{{{ else }}}style="display: none;"{{{ end }}}>
14
- <button type="button" class="btn-close" data-bs-dismiss="alert"></button>
13
+ <div class="alert alert-danger {{{ if !error }}} hidden{{{ end }}}" id="login-error-notify">
15
14
  <strong>[[login:failed-login-attempt]]</strong>
16
15
  <p class="mb-0">{error}</p>
17
16
  </div>
@@ -40,12 +39,14 @@
40
39
  </div>
41
40
  </div>
42
41
  </div>
43
- {{{each loginFormEntry}}}
44
- <div class="row mb-2 loginFormEntry">
45
- <label for="login-{loginFormEntry.styleName}" class="col-lg-2 col-form-label">{loginFormEntry.label}</label>
46
- <div id="login-{loginFormEntry.styleName}" class="col-lg-10">{{loginFormEntry.html}}</div>
42
+
43
+ {{{ each loginFormEntry }}}
44
+ <div class="row mb-2 loginFormEntry {./styleName}">
45
+ <label for="{./inputId}" class="col-lg-2 col-form-label">{./label}</label>
46
+ <div class="col-lg-10">{{./html}}</div>
47
47
  </div>
48
48
  {{{end}}}
49
+
49
50
  <input type="hidden" name="_csrf" value="{config.csrf_token}" />
50
51
  <input type="hidden" name="noscript" id="noscript" value="true" />
51
52
  <div class="row">