Sha256: 33a6115586befd5356eeb2f6aa0514ae081073a55b9a470671addf6e880222f6

Contents?: true

Size: 1.31 KB

Versions: 2

Compression:

Stored size: 1.31 KB

Contents

<div class="yui-g">
  <div class="yui-u first">
      <p>
        <label><%=t("environment")%></label>
        <br/>
        <%= f.collection_select(:environment,
                                Configuration.configurations.keys.sort,
                                :to_s, :titleize,
                                {}, {:id => "gtwy-env"}) %>
      </p>

      <p>
        <%= f.check_box :active, {:style => "vertical-align:middle;"} %>
        <label>
          <%= t('social_enable_provider') %>
        </label>
      </p>

      <p>
        <label><%= t('social_provider') %></label><br />
        <%= f.select :preferred_provider, SpreeSocial::PROVIDERS, {:include_blank => true} %>
        <br/>
        <span class="info">
          <%= t("social_provider") %>
        </span>
      </p>

      <p>
        <label><%= t('social_api_key') %></label><br />
        <%= f.text_field :preferred_api_key, :size => 40, :maxlength => 256 %>
        <br/>
        <span class="info">
          <%= t("social_api_key") %>
        </span>
      </p>

      <p>
        <label><%= t('social_api_secret') %></label><br />
        <%= f.text_field :preferred_api_secret, :size => 40, :maxlength => 256 %>
        <br/>
        <span class="info">
          <%= t("social_api_secret") %>
        </span>
      </p>

    </fieldset>

  </div>
</div>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
spree_social-1.0.2 app/views/admin/authentication_methods/_form.html.erb
spree_social-1.0.1 app/views/admin/authentication_methods/_form.html.erb