Skip to content

Commit

Permalink
Remain placeholder attribute for fallback
Browse files Browse the repository at this point in the history
  • Loading branch information
ikedas committed Dec 18, 2023
1 parent f44bb41 commit 1b044b0
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 6 deletions.
6 changes: 4 additions & 2 deletions default/web_tt2/suboptions.tt2
Original file line number Diff line number Diff line change
Expand Up @@ -120,10 +120,12 @@
<label for="date_deb">[%|loc%]From:[%END%] </label>
<input type="date" id="date_deb" name="date_deb"
style="display: inline-block; max-width: 40%"
value="[% d_day %]" />
value="[% d_day %]"
placeholder="[%|loc%]yyyy-mm-dd[%END%]" />
<label for="date_fin">[%|loc%]To:[%END%] </label>
<input type="date" id="date_fin" name="date_fin"
style="display: inline-block; max-width: 40%" />
style="display: inline-block; max-width: 40%"
placeholder="[%|loc%]yyyy-mm-dd[%END%]" />
<input type="checkbox" name="indefinite" />
[%|loc%]Suspend my membership indefinitely[%END%]
</div>
Expand Down
6 changes: 4 additions & 2 deletions default/web_tt2/suspend_request.tt2
Original file line number Diff line number Diff line change
Expand Up @@ -90,10 +90,12 @@
<label for="date_deb">[%|loc%]From:[%END%]</label>
<input type="date" id="date_deb" name="date_deb"
style="display: inline-block; max-width: 40%"
value="[% d_day %]" />
value="[% d_day %]"
placeholder="[%|loc%]yyyy-mm-dd[%END%]" />
<label for="date_fin">[%|loc%]To:[%END%]</label>
<input type="date" id="date_fin" name="date_fin"
style="display: inline-block; max-width: 40%" />
style="display: inline-block; max-width: 40%"
placeholder="[%|loc%]yyyy-mm-dd[%END%]" />
<input type="checkbox" name="indefinite" /> [%|loc%]Suspend my membership indefinitely[%END%]
</div>
[% IF suspended %]
Expand Down
6 changes: 4 additions & 2 deletions default/web_tt2/viewlogs.tt2
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,13 @@
<label for="date_from">[%|loc%]Search by date from:[%END%]</label>
<input type="date" id="date_from" name="date_from"
style="display: inline-block; max-width: 40%"
value="[% date_from %]" />
value="[% date_from %]"
placeholder="[%|loc%]yyyy-mm-dd[%END%]" />
<label for="date_to">[%|loc%]to:[%END%]</label>
<input type="date" id="date_to" name="date_to"
style="display: inline-block; max-width: 40%"
value="[% date_to %]" />
value="[% date_to %]"
placeholder="[%|loc%]yyyy-mm-dd[%END%]" />
<noscript>([%|loc%]ex: 24-05-2006[%END%])</noscript>
</div>
<div>
Expand Down

0 comments on commit 1b044b0

Please sign in to comment.