<%= f.field_container :environment do %> <%= label_tag nil, Spree::AuthenticationMethod.human_attribute_name(:environment) %> <%= collection_select(:authentication_method, :environment, Rails.configuration.database_configuration.keys, :to_s, :titleize, {}, { class: 'select2 fullwidth' }) %> <% end %>
<%= f.field_container :provider do %> <%= f.label :provider, I18n.t('spree.social_provider') %> <%= f.select :provider, Spree::AuthenticationMethod.provider_options, {}, { include_blank: false, class: 'select2 fullwidth' } %> <% end %>
<%= f.field_container :active do %> <%= f.label :active, I18n.t('spree.active') %> <%= f.radio_button :active, :true %> <%= I18n.t('spree.say_yes') %> <%= f.radio_button :active, :false %> <%= I18n.t('spree.say_no') %> <% end %>