mirror of
https://github.com/standardebooks/web.git
synced 2025-07-14 02:21:55 -04:00
Allow editing of projects
This commit is contained in:
parent
e21f411191
commit
b2191d1219
16 changed files with 191 additions and 75 deletions
|
@ -3,8 +3,11 @@ $project = $project ?? new Project();
|
|||
$managers = User::GetAllByCanManageProjects();
|
||||
$reviewers = User::GetAllByCanReviewProjects();
|
||||
$areFieldsRequired = $areFieldsRequired ?? true;
|
||||
$isEditForm = $isEditForm ?? false;
|
||||
?>
|
||||
<input type="hidden" name="project-ebook-id" value="<?= $project->EbookId ?? '' ?>" />
|
||||
<? if(!$isEditForm){ ?>
|
||||
<input type="hidden" name="project-ebook-id" value="<?= $project->EbookId ?? '' ?>" />
|
||||
<? } ?>
|
||||
|
||||
<label class="icon user">
|
||||
<span>Producer name</span>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue