Skip to content
Myr

examples: fixes to mvc example

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

closes #2534

authored by Dmitriy · committed by Douglas Christopher Wilson · parent 9adfc2d · Browse files · 2 files+2 added−2 removed
This commit

State

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

Diff stats

2 files+2 added−2 removed

  • other:+2 added−2 removed

2 files+2 added−2 removed

modified:examples/mvc/controllers/pet/views/edit.ejs+1 added-1 removed
6 unmodified lines
78<body>9<h1><%= pet.name %></h1>10<form action="/pet/<%= pet.id %>?_method=put" method="post">11 <label>Name: <input type="text" name="user[name]" value="<%= pet.name %>"></label>11 <label>Name: <input type="text" name="pet[name]" value="<%= pet.name %>"></label>12 <input type="submit" value="Update">13</form>14</body>15</html>
modified:examples/mvc/lib/boot.js+1 added-1 removed