Sha256: aeec1c3222a4616d86ac2fe35e26df98fa6e2745876338185a0b84a3bb9cc4e9

Contents?: true

Size: 1.15 KB

Versions: 1

Compression:

Stored size: 1.15 KB

Contents

<% if @authentications.size > 0 %>
  <table class="authentications resource">
    <thead>
      <tr>
        <th class="t-left">Провайдер</th>
        <th>UID</th>
        <th>Email</th>
        <th>Имя</th>
        <th>Управление</th>
      </tr>
    </thead>
    <% @authentications.each do |authentication| %>
      <tr>
        <td class="t-left provider">
          <img width="16" height="16" src="/assets/sc/64/<%= authentication.provider %>.png" alt="<%= authentication.provider %>" />
          <div><%= authentication.provider.titleize %></div>
        </td>
        <td>
          <%= authentication.uid %>
        </td>
        <td>
          <%= truncate authentication.email, :length => 30 %>
        </td>
        <td>
          <%= truncate authentication.name, :length => 30 %>
        </td>
        <td>
          <%= link_to t("delete"), authentication, :confirm => t("shure"), :method => :delete, :class => "delete" %>
        </td>
      </tr>
    <% end %>
  </table>
  <div class="clear"></div>
<% else %>
  <p>Авторизаций не найдено.</p>
<% end %>
<%= render "devise/shared/social_links" if User.omniauth_enabled %>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
devise_russian-0.0.29 app/views/authentications/_collection.html.erb