diff options
Diffstat (limited to 'templates/admin/auth/new.tmpl')
-rw-r--r-- | templates/admin/auth/new.tmpl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/admin/auth/new.tmpl b/templates/admin/auth/new.tmpl index 302132e06b..6addc50d09 100644 --- a/templates/admin/auth/new.tmpl +++ b/templates/admin/auth/new.tmpl @@ -13,12 +13,12 @@ <div class="inline required field {{if .Err_Type}}error{{end}}"> <label>{{.i18n.Tr "admin.auths.auth_type"}}</label> <div class="ui selection type dropdown"> - <input type="hidden" id="auth_type" name="type" value="{{.type}}"> + <input type="hidden" id="auth_type" name="type" value="{{.type.Int}}"> <div class="text">{{.CurrentTypeName}}</div> {{svg "octicon-triangle-down" 14 "dropdown icon"}} <div class="menu"> {{range .AuthSources}} - <div class="item" data-value="{{.Type}}">{{.Name}}</div> + <div class="item" data-value="{{.Type.Int}}">{{.Name}}</div> {{end}} </div> </div> |