Remove @required attributes from hidden forms

This commit is contained in:
Alex Cabal 2024-12-14 19:23:26 -06:00
parent dbda2ad583
commit 59a2d30d23
4 changed files with 4 additions and 6 deletions

View file

@ -8,7 +8,6 @@ $reviewers = User::GetAllByCanReviewProjects();
<input
type="text"
name="project-producer-name"
required="required"
value="<?= Formatter::EscapeHtml($project->ProducerName ?? '') ?>"
/>
</label>
@ -61,8 +60,7 @@ $reviewers = User::GetAllByCanReviewProjects();
<input
type="url"
name="project-vcs-url"
required="required"
placeholder="https://github.com/"
placeholder="https://github.com/..."
pattern="^https:\/\/github\.com\/[^\/]+/[^\/]+/?$"
value="<?= Formatter::EscapeHtml($project->VcsUrl ?? '') ?>"
/>