mirror of
https://github.com/standardebooks/web.git
synced 2025-07-08 15:50:29 -04:00
Expand placeholder subforms if they have data
This commit is contained in:
parent
c43c4fa2dd
commit
2c0c87bcb0
1 changed files with 2 additions and 2 deletions
|
@ -21,7 +21,7 @@ $showProjectForm = $showProjectForm ?? true;
|
||||||
/>
|
/>
|
||||||
</label>
|
</label>
|
||||||
</fieldset>
|
</fieldset>
|
||||||
<details>
|
<details<? if( (isset($ebook->Authors) && sizeof($ebook->Authors) > 1) || (isset($ebook->Translators) && sizeof($ebook->Translators) > 0) ){ ?> open="open"<? } ?>>
|
||||||
<summary>Additional contributors</summary>
|
<summary>Additional contributors</summary>
|
||||||
<fieldset>
|
<fieldset>
|
||||||
<label class="icon user">
|
<label class="icon user">
|
||||||
|
@ -124,7 +124,7 @@ $showProjectForm = $showProjectForm ?? true;
|
||||||
/>
|
/>
|
||||||
</label>
|
</label>
|
||||||
</fieldset>
|
</fieldset>
|
||||||
<details>
|
<details<? if(isset($ebook->CollectionMemberships) && sizeof($ebook->CollectionMemberships) > 1){ ?> open="open"<? } ?>>
|
||||||
<summary>Additional collections</summary>
|
<summary>Additional collections</summary>
|
||||||
<fieldset>
|
<fieldset>
|
||||||
<label class="icon collection">
|
<label class="icon collection">
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue