Sha256: 4aaff9795c8230b3f9152cffcc95bc84b60da3ca2dba5d895a621ded93b9f5c9

Contents?: true

Size: 1.17 KB

Versions: 12

Compression:

Stored size: 1.17 KB

Contents

<% content_for :title do %>
<h1 class="project-banner space-below">
  Providers

  <%= link_to "New Provider", new_oauth_provider_path, class: "btn btn-primary" if can?(:create, Oauth::Provider) %>
</h1>
<% end %>

<div class="nomargin">
  <table id="providers" class="table table-sortable table-striped">
    <thead>
      <tr>
        <td class="table-margin"></td>
        <th class="provider-name">Name</th>
        <th class="provider-site">Site</th>
        <th class="provider-client-id">Client ID</th>
        <td class="table-margin"></td>
      </tr>
    </thead>
    <tbody>
      <% @providers.each do |provider| %>
        <tr class="provider">
          <td class="table-margin"></td>
          <td class="provider-name"><%= link_to provider.name, edit_oauth_provider_path(provider) %></td>
          <td class="provider-site"><%= provider.site %></td>
          <td class="provider-client-id"><%= provider.client_id %></td>
          <td class="table-margin"></td>
        </tr>
      <% end %>
    </tbody>
  </table>
</div>


<% content_for :javascripts do %>
  <script type="text/javascript">
    $(function() {
      $('#providers').tablesorter();
    });
  </script>
<% end %>

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
houston-core-0.8.4 app/views/oauth/providers/index.html.erb
houston-core-0.8.3 app/views/oauth/providers/index.html.erb
houston-core-0.8.2 app/views/oauth/providers/index.html.erb
houston-core-0.8.1 app/views/oauth/providers/index.html.erb
houston-core-0.8.0 app/views/oauth/providers/index.html.erb
houston-core-0.8.0.pre2 app/views/oauth/providers/index.html.erb
houston-core-0.8.0.pre app/views/oauth/providers/index.html.erb
houston-core-0.7.0 app/views/oauth/providers/index.html.erb
houston-core-0.7.0.beta4 app/views/oauth/providers/index.html.erb
houston-core-0.7.0.beta3 app/views/oauth/providers/index.html.erb
houston-core-0.7.0.beta2 app/views/oauth/providers/index.html.erb
houston-core-0.7.0.beta app/views/oauth/providers/index.html.erb