I have created a module in which I create a form and then rendered it in twig template I want to know how to give form action in a twig template i.e how to pass form action attribute in twig form.
any help will be greatly appreciated .
mymodulename-form.html.twig file
<form>
<div class="form-group">
<label for="name">{{form.first_name['#title']}}</label>
<div class="input-group">
{{form.first_name}}
<span class="input-group-addon danger"><span class="glyphicon icon-remove"></span></span>
</div>
</div>