29.05.2015 Views

o_19mgorv9t13a3ko71fev19l81mqa.pdf

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<br />

<br />

<br />

CreatePerson<br />

<br />

label { display: inline-block; width: 100px;}<br />

.dataElem { margin: 5px;}<br />

<br />

<br />

<br />

CreatePerson<br />

<br />

<br />

PersonId<br />

<br />

<br />

<br />

First Name<br />

<br />

<br />

<br />

Last Name<br />

<br />

<br />

<br />

Role<br />

<br />

Admin<br />

User<br />

Guest<br />

<br />

<br />

<br />

<br />

<br />

<br />

Summary<br />

In this chapter, I introduced the concept of helper methods, which you can use in views to generate chunks of content in a<br />

reusable way. I started by showing you how to create custom inline and external helpers and then showed you the helpers that are<br />

available to create HTML form, input and select elements. In the next chapter, I continue on this theme and show you<br />

how to use templated helpers.<br />

578

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!