diff --git a/src/assets/downloads/style.css b/src/assets/downloads/style.css index 04943f2..9d4dc80 100644 --- a/src/assets/downloads/style.css +++ b/src/assets/downloads/style.css @@ -129,6 +129,12 @@ p { font-style: italic; } +.rentals form p { + font-size: 80%; + display: block; + text-align: center; +} + .rentals input { padding: 11px; font-size: 18px; diff --git a/src/markdown/tutorial/part-2/12-provider-components.md b/src/markdown/tutorial/part-2/12-provider-components.md index 713db03..f1643ca 100644 --- a/src/markdown/tutorial/part-2/12-provider-components.md +++ b/src/markdown/tutorial/part-2/12-provider-components.md @@ -12,7 +12,7 @@ In this chapter, we'll work on adding a new search feature, and refactor our `in During this refactor, you will learn about: -* Using Ember's built-in `` component +* Using forms * The provider component pattern * Using block parameters when invoking components * Yielding data to caller components @@ -21,15 +21,17 @@ During this refactor, you will learn about: As our app grows and as we add more features to it, one thing that would be really nice to have is some search functionality. It would be great if our users could just type a word into a search box and our app could just respond with matching and relevant rentals. So how could we go about implementing this feature? -Well, we can start simple. Before we worry about implementing the "search" part of this feature, let's just get something on the page. The first step is to add an `` tag to our `index` page, and make it look pretty with a class. +Well, we can start simple. Before we worry about implementing the "search" part of this feature, let's just get something on the page. The first step is to add a form with an `` tag to our `index` page, and make it look pretty with a class. ```run:file:patch lang=handlebars cwd=super-rentals filename=app/templates/index.hbs -@@ -7,2 +7,7 @@ +@@ -7,2 +7,9 @@