Sha256: 0d3e6c3d08d8124460785aae25990f0c899de3499fb3b8cd091df2d5d447c935

Contents?: true

Size: 1.16 KB

Versions: 1

Compression:

Stored size: 1.16 KB

Contents

<%= render :partial => 'spree/admin/shared/configuration_menu' %>

<div class='toolbar'>
  <ul class='actions'>
    <li>
      <%= button_link_to t("new_social_method"), new_object_url, :icon => 'add'  %>
    </li>
  </ul>
  <br class='clear' />
</div>

<h1><%= t("social_authentication_methods") %></h1>

<table class="index">
  <thead data-hook="admin_social_methods_index_headers">
    <th><%= t("social_provider") %></th>
    <th><%= t("social_api_key") %></th>
    <th><%= t("social_api_secret") %></th>
    <th><%= t("environment") %></th>
    <th><%= t("active") %></th>
    <th data-hook="admin_social_methods_index_header_actions">&nbsp;</th>
  </thead>
  <tbody>
    <% @authentication_methods.each do |method|%>
      <tr id="<%= dom_id method %>" data-hook="admin_trackers_index_rows">
        <td><%= method.provider %></td>
        <td><%= method.api_key %></td>
        <td><%= method.api_secret %></td>
        <td><%= method.environment.to_s.titleize %></td>
        <td><%= method.active ? t(:yes) : t(:no) %></td>
        <td>
        	<%= link_to_edit method %> &nbsp;
        	<%= link_to_delete method %>
        </td>
      </tr>
    <% end %>
  </tbody>
</table>

Version data entries

1 entries across 1 versions & 1 rubygems

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