Sha256: 717465f12ff262b73158cf716ff1c093701219cf897a44048c1be727b5db2750

Contents?: true

Size: 992 Bytes

Versions: 1

Compression:

Stored size: 992 Bytes

Contents

<p data-hook="environment">
  <td><%= label_tag nil, t(:environment) %></td>
  <td>
    <%= collection_select(:authentication_method, :environment, Rails.configuration.database_configuration.keys, :to_s, :titleize, {}) %>
  </td>
</p>

<%= auth_form.field_container :provider do %>
  <%= auth_form.label :provider, t(:social_provider) %>
  <%= auth_form.select :provider, SpreeSocial::OAUTH_PROVIDERS, { :include_blank => true } %>
<% end %>

<%= auth_form.field_container :api_key do %>
  <%= auth_form.label :api_key, t(:social_api_key) %><br />
  <%= auth_form.text_field :api_key %>
<% end %>

<%= auth_form.field_container :api_secret do %>
  <%= auth_form.label :api_secret, t(:social_api_secret) %><br />
  <%= auth_form.text_field :api_secret %>
<% end %>

<%= auth_form.field_container :active do %>
  <%= auth_form.label :active, t(:active) %><br />
  <%= auth_form.radio_button :active, :true %><%= t(:yes) %>
  <%= auth_form.radio_button :active, :false %><%= t(:no) %>
<% end %>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
spree_social_onr-2.1.4 app/views/spree/admin/authentication_methods/_form.html.erb