Sha256: b5fb2072ee22b05c50676fcaab85c4adbb457672445e061417105f1d4a43a1bd

Contents?: true

Size: 1.3 KB

Versions: 3

Compression:

Stored size: 1.3 KB

Contents

<%= render :partial => '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_methods") %></h1>

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

Version data entries

3 entries across 3 versions & 1 rubygems

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