mirror of
https://github.com/standardebooks/web.git
synced 2025-07-14 02:21:55 -04:00
Tweak appearance of artwork form and add URL validation for SE URL
This commit is contained in:
parent
017474a0a7
commit
a91b899a69
4 changed files with 11 additions and 15 deletions
|
@ -201,7 +201,7 @@ $now = new DateTimeImmutable('now', new DateTimeZone('America/Juneau')); // Late
|
|||
<label>
|
||||
<span>In use by</span>
|
||||
<span>The full S.E. ebook URL. If not in use, leave this blank.</span>
|
||||
<input type="url" autocomplete="off" name="artwork-ebook-url" value="<?= Formatter::EscapeHtml($artwork->EbookUrl) ?>"/>
|
||||
<input type="url" autocomplete="off" name="artwork-ebook-url" placeholder="https://standardebooks.org/ebooks/" pattern="^https:\/\/standardebooks\.org\/ebooks/[^\/]+(\/[^\/]+)+$" value="<?= Formatter::EscapeHtml($artwork->EbookUrl) ?>"/>
|
||||
</label>
|
||||
<? } ?>
|
||||
</fieldset>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue