I have a form in my view that includes a button and an input field with a label. Currently, the button is rendered at the same height as the label of the input field. How can I make sure the input and button are on the same line?
This is the code snippet for generating the form in my view:
{{ form_start(form, { 'attr': {'novalidate':'novalidate'}}) }}
<div class="row">
<div class="col-lg-5">
{{ form_row(form.name)}}
</div>
<div class="col-lg-2">
{{ form_row(form.add) }}
</div>
</div>
{{ form_end(form) }}