Display parking space info
This commit is contained in:
parent
ad976119af
commit
2489fed697
@ -779,6 +779,10 @@ select {
|
|||||||
z-index: 50;
|
z-index: 50;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.m-1 {
|
||||||
|
margin: 0.25rem;
|
||||||
|
}
|
||||||
|
|
||||||
.mx-auto {
|
.mx-auto {
|
||||||
margin-left: auto;
|
margin-left: auto;
|
||||||
margin-right: auto;
|
margin-right: auto;
|
||||||
|
@ -25,16 +25,26 @@
|
|||||||
>
|
>
|
||||||
{{ "Price"|t(lang,t) }}
|
{{ "Price"|t(lang,t) }}
|
||||||
</label>
|
</label>
|
||||||
|
<div class="flex w-full">
|
||||||
<input
|
<input
|
||||||
id="price"
|
id="price-major"
|
||||||
name="price"
|
name="price-major"
|
||||||
class="w-full px-4 py-2 border rounded-lg focus:outline-none focus:ring-2 focus:ring-cyan-500"
|
class="px-4 py-2 border rounded-lg focus:outline-none focus:ring-2 focus:ring-cyan-500"
|
||||||
type="number"
|
type="number"
|
||||||
required
|
required
|
||||||
{% if let Some(v) = form.price %}
|
{% if let Some(v) = form.price %} value="{{ v / 100 }}" {% endif %}
|
||||||
value="{{v}}"
|
|
||||||
{% endif %}
|
|
||||||
/>
|
/>
|
||||||
|
<span class="m-1 text-lg font-medium">.</span>
|
||||||
|
<input
|
||||||
|
id="price-minor
|
||||||
|
name="price-minor"
|
||||||
|
class="px-4 py-2 border rounded-lg focus:outline-none focus:ring-2 focus:ring-cyan-500"
|
||||||
|
type="number"
|
||||||
|
required
|
||||||
|
{% if let Some(v) = form.price %} value="{{ v % 100 }}" {% endif %}
|
||||||
|
/>
|
||||||
|
<span class="m-1">PLN</span>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="mb-6">
|
<div class="mb-6">
|
||||||
<input
|
<input
|
||||||
|
Loading…
Reference in New Issue
Block a user