Fix form.

This commit is contained in:
Alexis Lahouze 2017-07-30 16:10:45 +02:00
parent 7b368df9b9
commit f6bcdcfc2b

View File

@ -7,7 +7,7 @@ import { Operation } from './operation';
@Component({
selector: 'operation-form',
template: `
<form class="form-horizontal simple-form">
<form class="form-horizontal simple-form" novalidate (submit)="submit()" #form="ngForm">
<div class="form-group">
<label class="col-sm-4 control-label" for="operation-date">Date</label>
<div class="col-sm-8">