Sha256: f7278b849ad84e53c66f9c65fd86d18ed3d2aef549a9b4661a45c6370bb98e46
Contents?: true
Size: 921 Bytes
Versions: 8
Compression:
Stored size: 921 Bytes
Contents
<% if @connections.empty? %> <p>There are currently no connections.</p> <% else %> <table class="list"> <thead> <tr> <th>Name</th> <th>Adapter</th> <th>Host</th> <th>Port</th> <th>Username</th> <th>Database</th> <th></th> </tr> </thead> <tbody> <% @connections.each do |connection| %> <tr<%= cycle('', ' class="alt"') %>> <td><a href="/connections/<%= connection.id %>"><%= connection.name %></a></td> <td><%= connection.adapter %></td> <td><%= connection.host %></td> <td><%= connection.port %></td> <td><%= connection.username %></td> <td><%= connection.database_name %></td> <td> <%- if connection.deletable? -%> <%= delete_link("<span class='ui-icon ui-icon-trash'></span>", "/connections/#{connection.id}") %> <%- end -%> </td> </tr> <% end %> </tbody> </table> <% end %>
Version data entries
8 entries across 8 versions & 1 rubygems