зеркало из https://github.com/github/remote-form.git
Update README HTML
This commit is contained in:
Родитель
234f942ecf
Коммит
52546ad45f
|
@ -42,12 +42,13 @@ remoteForm('form[data-remote]', async function(form, wants, request) {
|
|||
```html
|
||||
<form action="/signup" method="post" data-remote>
|
||||
<label for="username">Username</label>
|
||||
<input id="username" type="text" />
|
||||
<input id="username" type="text">
|
||||
|
||||
<label for="password">Username</label>
|
||||
<input id="password" type="password" />
|
||||
<input id="password" type="password">
|
||||
|
||||
<button>Log in</button>
|
||||
<button type="submit">Log in</button>
|
||||
<div class="results"></div>
|
||||
</form>
|
||||
```
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче