mirror of
https://github.com/standardebooks/web.git
synced 2025-07-13 10:02:02 -04:00
Fix wrong property references in user edit form
This commit is contained in:
parent
18dce33946
commit
40296c2562
1 changed files with 2 additions and 2 deletions
|
@ -145,7 +145,7 @@ $passwordAction = $passwordAction ?? Enums\PasswordActionType::None;
|
|||
<li>
|
||||
<label>
|
||||
<input type="hidden" name="benefits-can-edit-projects" value="false" />
|
||||
<input type="checkbox" name="benefits-can-edit-projects" value="true"<? if($user->Benefits->CanManageProjects){ ?> checked="checked"<? } ?> />
|
||||
<input type="checkbox" name="benefits-can-edit-projects" value="true"<? if($user->Benefits->CanEditProjects){ ?> checked="checked"<? } ?> />
|
||||
Can edit projects
|
||||
</label>
|
||||
</li>
|
||||
|
@ -159,7 +159,7 @@ $passwordAction = $passwordAction ?? Enums\PasswordActionType::None;
|
|||
<li>
|
||||
<label>
|
||||
<input type="hidden" name="benefits-can-review-projects" value="false" />
|
||||
<input type="checkbox" name="benefits-can-review-projects" value="true"<? if($user->Benefits->CanManageProjects){ ?> checked="checked"<? } ?> />
|
||||
<input type="checkbox" name="benefits-can-review-projects" value="true"<? if($user->Benefits->CanReviewProjects){ ?> checked="checked"<? } ?> />
|
||||
Can review projects
|
||||
</label>
|
||||
</li>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue