mirror of
https://github.com/standardebooks/web.git
synced 2025-07-19 04:44:48 -04:00
Add Authors index
This commit is contained in:
parent
0e92b3acc8
commit
93b55d2da2
7 changed files with 37 additions and 11 deletions
|
@ -11,7 +11,7 @@ $showProjectForm ??= true;
|
|||
<label class="icon user">
|
||||
<span>Author</span>
|
||||
<datalist id="author-names">
|
||||
<? foreach(Contributor::GetAllAuthorNames() as $author){ ?>
|
||||
<? foreach(Contributor::GetAllNamesByMarcRole(Enums\MarcRole::Author) as $author){ ?>
|
||||
<option value="<?= Formatter::EscapeHtml($author->Name) ?>"><?= Formatter::EscapeHtml($author->Name) ?></option>
|
||||
<? } ?>
|
||||
</datalist>
|
||||
|
@ -48,7 +48,7 @@ $showProjectForm ??= true;
|
|||
<label class="icon language">
|
||||
<span>Translator</span>
|
||||
<datalist id="translator-names">
|
||||
<? foreach(Contributor::GetAllTranslatorNames() as $translator){ ?>
|
||||
<? foreach(Contributor::GetAllNamesByMarcRole(Enums\MarcRole::Translator) as $translator){ ?>
|
||||
<option value="<?= Formatter::EscapeHtml($translator->Name) ?>"><?= Formatter::EscapeHtml($translator->Name) ?></option>
|
||||
<? } ?>
|
||||
</datalist>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue