Skip to content
Myr

edit.hbs

This file

Path

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

27 lines · 731 bytes

Last changed by

Not known.

History of this file

Take it

The walk stopped after 200 commits: lines older than 2027b87 point at it.

fix(deps): cookie@0.7.0Josh Bukerbefore adoption2027b87

lines 1–27why, one step back
1<!DOCTYPE html>
2<html>3<head>4 <meta charset="utf-8">5 <meta name="viewport" content="width=device-width,initial-scale=1">6 <link rel="stylesheet" href="/style.css">7 <title>Edit {{user.name}}</title>8</head>9<body>10 <h1>{{user.name}}</h1>11 <form action="/user/{{user.id}}?_method=put" method="post">12 <label for="user[name]">Name:13 <input type="text" name="user[name]" value="{{user.name}}">14 </label>1516 <input type="submit" name="submit" value="Update">17 </form>1819 <form action="/user/{{user.id}}/pet" method="post">20 <label for="pet[name]">Pet:21 <input type="text" name="pet[name]" placeholder="Pet Name">22 </label>2324 <input type="submit" name="submit" value="Add">25 </form>26</body>27</html>