Update person edit route

This commit is contained in:
2017-02-17 10:52:17 +00:00
parent e69d04f199
commit a880a5f2bc
4 changed files with 26 additions and 5 deletions

View File

@@ -36,7 +36,12 @@ class AdminPerson extends React.Component {
<div className={s.root}>
<div className={s.container}>
<h1>{this.state.firstname} {this.state.lastname}</h1>
<form method="post" action="/admin/person_todo">
<form method="post" action="/admin/person">
<input
type="hidden"
name="key"
value={this.props.person.key}
/>
<div className={s.formGroup}>
<label className={s.label} htmlFor="firstname">
First name: