mirror of
https://github.com/standardebooks/web.git
synced 2025-07-16 03:16:36 -04:00
Turn off autocomplete for new project form
This commit is contained in:
parent
ac56d2d896
commit
b7776503cd
2 changed files with 2 additions and 2 deletions
|
@ -53,7 +53,7 @@ catch(Exceptions\InvalidPermissionsException){
|
|||
|
||||
<?= Template::Error(['exception' => $exception]) ?>
|
||||
|
||||
<form class="project-form" method="<?= Enums\HttpMethod::Post->value ?>" action="<?= $project->Url ?>" autocomplete="off">
|
||||
<form class="project-form" autocomplete="off" method="<?= Enums\HttpMethod::Post->value ?>" action="<?= $project->Url ?>" autocomplete="off">
|
||||
<input type="hidden" name="_method" value="<?= Enums\HttpMethod::Put->value ?>" />
|
||||
<?= Template::ProjectForm(['project' => $project, 'isEditForm' => true]) ?>
|
||||
<div class="footer">
|
||||
|
|
|
@ -68,7 +68,7 @@ catch(Exceptions\InvalidPermissionsException){
|
|||
|
||||
<?= Template::Error(['exception' => $exception]) ?>
|
||||
|
||||
<form action="/projects" method="<?= Enums\HttpMethod::Post->value ?>" class="project-form">
|
||||
<form action="/projects" autocomplete="off" method="<?= Enums\HttpMethod::Post->value ?>" class="project-form">
|
||||
<?= Template::ProjectForm(['project' => $project]) ?>
|
||||
<? if(!isset($project->EbookId)){ ?>
|
||||
<fieldset class="create-update-ebook-placeholder placeholder-form">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue