mirror of
https://github.com/bigskysoftware/htmx.git
synced 2025-09-28 05:21:18 +00:00
clean up
This commit is contained in:
parent
2885149b81
commit
1402694ab7
@ -32,7 +32,7 @@ The click to edit pattern provides a way to offer inline editing of all or part
|
||||
<input type="text" name="lastName" value="Blow">
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label>Email address</label>
|
||||
<label>Email Address</label>
|
||||
<input type="email" name="email" value="joe@blow.com">
|
||||
</div>
|
||||
<button class="btn">Submit</button>
|
||||
@ -84,7 +84,7 @@ return `<form hx-put="/contact/1" hx-target="this" hx-swap="outerHTML">
|
||||
<input type="text" name="lastName" value="${contact.lastName}">
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label>Email address</label>
|
||||
<label>Email Address</label>
|
||||
<input type="email" name="email" value="${contact.email}">
|
||||
</div>
|
||||
<button class="btn">Submit</button>
|
||||
@ -96,7 +96,7 @@ return `<form hx-put="/contact/1" hx-target="this" hx-swap="outerHTML">
|
||||
return `<div hx-target="this" hx-swap="outerHTML">
|
||||
<div><label>First Name</label>: ${contact.firstName}</div>
|
||||
<div><label>Last Name</label>: ${contact.lastName}</div>
|
||||
<div><label>Email</label>: ${contact.email}</div>
|
||||
<div><label>Email Address</label>: ${contact.email}</div>
|
||||
<button hx-get="/contact/1/edit" class="btn btn-primary">
|
||||
Click To Edit
|
||||
</button>
|
||||
|
Loading…
x
Reference in New Issue
Block a user