Hey there,
I have this code:
<%= for field <- [:free_event_rsvp] do %>
<div class="row">
<div class="col-2">
<p><%= String.capitalize(Atom.to_string(field)) %></p>
</div>
<div class="col-10" >
<%= inputs_for f, :business_webhooks, [as: :webhooks], fn fp -> %>
<%= text_input fp, :free_event_rsvp %>
<% end %>
<p class="text-danger"><%= error_tag f, field %></p>
</div>
</div>
<div class="hr-line-dashed"></div>
<% end %>
but if i have the
> as: :webhooks
added the filed is not included upon submit.
Without it the field is there, but i need it with a different name.