Skip to content
Myr

Fixing bug in MVC example pet view.

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

authored by Fernando Silveira · committed by Fernando Silveira · parent 8d8f44f · Browse files · 1 file+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

1 file+2 added−2 removed

  • other:+2 added−2 removed

1 file+2 added−2 removed

modified:examples/mvc/controllers/pet/views/edit.jade+2 added-2 removed
1link(rel='stylesheet', href='/style.css')2h1= pet.name3form(action='/pet/#{pet.id}', method='post')4 input(type='hidden', name='_method', value='put')5 label Name: 6 input(type='text', name='user[name]', value=pet.name)5 label= 'Name: '6 input(type='text', name='pet[name]', value=pet.name)7 input(type='submit', value='Update')