RailsCasts Pro episodes are now free!

Learn more or hide this

advanced's Profile

GitHub User: advanced

Comments by

Avatar

how woud someone use simple form to generate something like below. As you can see the input is wrapped with a div.

erb
<div class="input-section">
        <label class="label_form">Label<span>*</span></label>
        <div class="input_form">
                <input type="text" id="form_input" name="name" placeholder="name">
        </div>
</div>