diff --git a/web/layouts/vehicles_management/fleet-display.html b/web/layouts/vehicles_management/fleet-display.html index 90918cf..df57749 100644 --- a/web/layouts/vehicles_management/fleet-display.html +++ b/web/layouts/vehicles_management/fleet-display.html @@ -1,4 +1,5 @@ {{define "content"}} +
@@ -13,9 +14,10 @@

{{.ViewState.vehicle.Data.name}}

+ {{ if eq (index .ViewState.vehicle.Administrators 0) .Group.ID }}
+ class="w-full px-4 py-2 border border-transparent text-sm font-medium rounded-2xl shadow-sm text-white bg-co-blue hover:bg-co-blue focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-offset-gray-100 focus:ring-co-blue">Modifier {{end}}