Skip to content
Myr

edit.html

This file

Path

examples/mvc/controllers/user/views/edit.html

12 lines · 492 bytes · HTML

Last changed by

Not known.

History of this file

Take it

The walk stopped after 200 commits: lines older than 9f4968a point at it.

3.15.1Douglas Christopher Wilsonbefore adoption9f4968a

lines 1–12why, one step back
1<link rel="stylesheet" href="/style.css" />
2<h1><%= user.name %></h1>3<form action='/user/<%= user.id %>' method='post'>4 <input type="hidden" name="_method" value="put" />5 <label>Name: <input type="text" name="user[name]" value="<%= user.name %>" /></label>6 <input type="submit" value="Update" />7</form>89<form action='/user/<%= user.id %>/pet' method='post'>10 <label>Pet: <input type="text" name="pet[name]" placeholder="name" /></label>11 <input type="submit" value="Add" />12</form>