<% content_for(:title) do %> <%= t(".title") %> <% end %>

<%= t(".title") %>

<%= form_for(@gym) do |form| %> <%= form.label :name, class: 'label' %> <%= form.text_field :name, class: 'input' %> <%= form.fields_for :location do |location_form| %> <%= location_form.label :address, class: 'label' %> <%= location_form.text_field :address, class: 'input' %> <%= location_form.label :city, class: 'label' %> <%= location_form.text_field :city, class: 'input' %> <%= location_form.label :region, class: 'label' %> <%= location_form.text_field :region, class: 'input' %> <%= location_form.label :country, class: 'label' %>

<%= location_form.select :country, @countries %>

<%= location_form.label :postal_code, class: 'label' %> <%= location_form.text_field :postal_code, class: 'input' %> <% end %>

<%= form.submit t(:save), class: 'button is-primary is-fullwidth' %>

<% end %>