2022-03-22 09:21:55 +01:00
|
|
|
{{define "form_input_number"}}
|
|
|
|
{{ $fullProperty := getFullProperty .Parent .Property }}
|
|
|
|
{{ $value := getValue .Defaults .Values $fullProperty }}
|
2022-05-04 12:23:53 +02:00
|
|
|
<input type="number"
|
|
|
|
class="bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5"
|
|
|
|
name="num:{{ $fullProperty }}"
|
|
|
|
value="{{ $value }}" />
|
2022-03-22 09:21:55 +01:00
|
|
|
{{end}}
|