Please I need to get the select payment list in a checkbox I’m doing of this shape
<form method="get" action = <%=Routes.signer_path(@conn, :new, payments_ids)%>>
<%= for payment <- @payments do %>
<body>
<tr>
<a href= <%=Routes.payment_path(@conn, :show, payment.id)%> >
<%= payment.reason %> (<%= payment.id %>)</a>
<input id="payments_transaction" name="transaction[payments_ids][]" type="checkbox" value="<%= payment.id %>">
<br />
</tr>
</body>
<% end %>
</table>
<button class="favorite styled"
type="submit" >
Pay
</button>
</form>
but I cannot obtain the list that according to the documentation that I have already seen returns the payments_ids that are in the name and obtains the list that was selected in the checkbox