Skip to content
Myr

Updating users

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Tj Holowaychuk · committed by Tj Holowaychuk · parent 7ded5a2 · Browse files · 3 files+14 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

3 files+14 added−1 removed

  • other:+14 added−1 removed

3 files+14 added−1 removed

modified:examples/route-separation/views/user/edit.ejs+3 added-1 removed
1<div id="user">2 <h1>Editing <%= user.name %></h1>3 <form method="post">4 <input type="hidden" value="put" name="_method" />5 <p>Name: <input type="text" value="<%= user.name %>" name="user[name]"/></p>4 <p>Email: <input type="text" value="<%= user.email %>" name="user[name]"/></p>6 <p>Email: <input type="text" value="<%= user.email %>" name="user[email]"/></p>7 <p><input type="submit" value="Save" /></p>8 </form>9</div>
modified:examples/route-separation/app.js+2 added
modified:examples/route-separation/user.js+9 added