` wrapper we just wrote:
+makeExcerpt('src/app/hero-form.component.html (excerpt)', 'submitted')
:marked
- There's the hero again, displayed read-only with interpolation bindings.
+ There's our hero again, displayed read-only with interpolation bindings.
This `
` appears only while the component is in the submitted state.
- The HTML includes an *Edit* button whose click event is bound to an expression
+ The HTML includes an _Edit_ button whose click event is bound to an expression
that clears the `submitted` flag.
- When you click the *Edit* button, this block disappears and the editable form reappears.
+ When we click the _Edit_ button, this block disappears and the editable form reappears.
+
+ That's as much drama as we can muster for now.
.l-main-section
:marked
## Conclusion
- The Angular form discussed in this page takes advantage of the following
+ The Angular form discussed in this guide takes advantage of the following
framework features to provide support for data modification, validation, and more:
- An Angular HTML form template.
- A form component class with a `@Component` decorator.
- Handling form submission by binding to the `NgForm.ngSubmit` event property.
- - Template-reference variables such as `#heroForm` and `#name`.
+ - Template reference variables such as `#heroForm` and `#name`.
- `[(ngModel)]` syntax for two-way data binding.
- - The use of `name` attributes for validation and form-element change tracking.
+ - The use of `name` attributes for validation and form element change tracking.
- The reference variable’s `valid` property on input controls to check if a control is valid and show/hide error messages.
- - Controlling the *Submit* button's enabled state by binding to `NgForm` validity.
+ - Controlling the submit button's enabled state by binding to `NgForm` validity.
- Custom CSS classes that provide visual feedback to users about invalid controls.
- The final project folder structure should look like this:
+ Our final project folder structure should look like this:
.filetree
.file angular-forms