Display parking space info
This commit is contained in:
parent
ad976119af
commit
2489fed697
@ -779,6 +779,10 @@ select {
|
||||
z-index: 50;
|
||||
}
|
||||
|
||||
.m-1 {
|
||||
margin: 0.25rem;
|
||||
}
|
||||
|
||||
.mx-auto {
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
|
@ -25,16 +25,26 @@
|
||||
>
|
||||
{{ "Price"|t(lang,t) }}
|
||||
</label>
|
||||
<div class="flex w-full">
|
||||
<input
|
||||
id="price"
|
||||
name="price"
|
||||
class="w-full 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}}"
|
||||
{% endif %}
|
||||
id="price-major"
|
||||
name="price-major"
|
||||
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 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 class="mb-6">
|
||||
<input
|
||||
|
Loading…
Reference in New Issue
Block a user