Skip to content

Commit

Permalink
Lint tests
Browse files Browse the repository at this point in the history
  • Loading branch information
MaedahBatool committed Jan 17, 2022
1 parent bc22520 commit a518571
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions examples/next-forms/pages/no-js-form.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@ export default function Form() {
Get started by looking at{' '}
<code className={styles.code}>pages/no-js-from.js</code>
</p>
{/*action: The action attribute defines where the data gets sent. Its value must be a valid relative or absolute URL. If this attribute isn't provided, the data will be sent to the URL of the page containing the form — the current page.

{/*action: The action attribute defines where the data gets sent. Its value must be a valid relative or absolute URL. If this attribute isn't provided, the data will be sent to the URL of the page containing the form — the current page.
method: The HTTP method to submit the form with. (case insensitive) s*/}
<form action="/api/form" method="post">

<form action="/api/form" method="post">
<label htmlFor="first">First Name</label>
<input type="text" id="first" name="first" required />

Expand Down

0 comments on commit a518571

Please sign in to comment.