You've already forked golang-saas-starter-kit
mirror of
https://github.com/raseels-repos/golang-saas-starter-kit.git
synced 2025-08-08 22:36:41 +02:00
fix user roles error on create and update
This commit is contained in:
@@ -61,7 +61,7 @@
|
||||
<div class="form-group">
|
||||
<label for="inputRoles">Roles</label>
|
||||
<span class="help-block "><small>- Select at least one role.</small></span>
|
||||
{{ range $r := .roles }}
|
||||
{{ range $r := .roles.Options }}
|
||||
<div class="form-check">
|
||||
<input class="form-check-input {{ ValidationFieldClass $.validationErrors "Roles" }}"
|
||||
type="checkbox" name="Roles"
|
||||
|
@@ -60,7 +60,7 @@
|
||||
<div class="form-group">
|
||||
<label for="inputRoles">Roles</label>
|
||||
<span class="help-block "><small>- Select at least one role.</small></span>
|
||||
{{ range $r := .roles }}
|
||||
{{ range $r := .roles.Options }}
|
||||
<div class="form-check">
|
||||
<input class="form-check-input {{ ValidationFieldClass $.validationErrors "Roles" }}"
|
||||
type="checkbox" name="Roles"
|
||||
|
Reference in New Issue
Block a user