{{ define "admin-tenant-domain-content" }} {{ template "nav-sidebar" . }}
{{ template "navbar-user" . }}
{{ range $td := .Tenants }}{{ end}}
Domain Subdomains Active Available Description Last Updated
{{ $td.Domain }} 0 {{ if $td.Active }} {{ else }}{{ end }} {{ if $td.Available }} {{ else }}{{ end }} {{ $td.Description }} {{ $td.Modified.Format "Mon, 02 Jan 2006" }}
{{ template "menu-toggle" . }}
{{ end }} {{ define "admin-tenant-domain-setup-content" }} {{ template "nav-sidebar" . }}
{{ template "navbar-user" . }}

Setup Tenant Domain

{{ if .Tenant.ID.IsZero }}
{{ else }} {{ end }}

{{ if .IsNotValid "domain" }}
{{ .Error "domain" }}
{{ end }}

{{ if .IsNotValid "description" }}
{{ .Error "description" }}
{{ end }}
{{ if not .Tenant.ID.IsZero }} {{ end }} Cancel
{{ template "menu-toggle" . }}
{{ end }}