<% style ||= "form-control" %> <% placeholder ||= "Your address" %> <%= f.fields_for :address_attributes do |a| %>
<%= a.label :address %>
<%= render "magic_addresses/addresses/address_fields", f: a, style: style, placeholder: placeholder %>
<% end %>