mirror of
https://github.com/seanmorley15/AdventureLog.git
synced 2025-07-22 14:29:36 +02:00
Transportation changes
This commit is contained in:
parent
2d4d98393c
commit
dd8999a45f
9 changed files with 150 additions and 52 deletions
|
@ -383,7 +383,7 @@
|
|||
</div>
|
||||
|
||||
<div>
|
||||
<label for="date">Date (or start date)</label><br />
|
||||
<label for="date">{adventure.date ? 'Start Date' : 'Date'}</label><br />
|
||||
<input
|
||||
type="date"
|
||||
id="date"
|
||||
|
@ -394,18 +394,20 @@
|
|||
class="input input-bordered w-full"
|
||||
/>
|
||||
</div>
|
||||
<div>
|
||||
<label for="end_date">End Date</label><br />
|
||||
<input
|
||||
type="date"
|
||||
id="end_date"
|
||||
name="end_date"
|
||||
min={startDate || ''}
|
||||
max={endDate || ''}
|
||||
bind:value={adventure.end_date}
|
||||
class="input input-bordered w-full"
|
||||
/>
|
||||
</div>
|
||||
{#if adventure.date}
|
||||
<div>
|
||||
<label for="end_date">End Date</label><br />
|
||||
<input
|
||||
type="date"
|
||||
id="end_date"
|
||||
name="end_date"
|
||||
min={startDate || ''}
|
||||
max={endDate || ''}
|
||||
bind:value={adventure.end_date}
|
||||
class="input input-bordered w-full"
|
||||
/>
|
||||
</div>
|
||||
{/if}
|
||||
<div>
|
||||
<!-- link -->
|
||||
<div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue