list.rhtml
28 lines
| 990 B
| text/html+ruby
|
RhtmlLexer
|
r90 | <div class="contextual"> | ||
|
r154 | <%= link_to l(:label_auth_source_new), {:action => 'new'}, :class => 'icon icon-add' %> | ||
|
r90 | </div> | ||
|
r10 | <h2><%=l(:label_auth_source_plural)%></h2> | ||
|
r105 | <table class="list"> | ||
<thead><tr> | ||||
|
r31 | <th><%=l(:field_name)%></th> | ||
<th><%=l(:field_type)%></th> | ||||
<th><%=l(:field_host)%></th> | ||||
<th></th> | ||||
<th></th> | ||||
|
r105 | </tr></thead> | ||
<tbody> | ||||
|
r10 | <% for source in @auth_sources %> | ||
<tr class="<%= cycle("odd", "even") %>"> | ||||
<td><%= link_to source.name, :action => 'edit', :id => source%></td> | ||||
<td align="center"><%= source.auth_method_name %></td> | ||||
<td align="center"><%= source.host %></td> | ||||
|
r105 | <td align="center"><%= link_to l(:button_test), :action => 'test_connection', :id => source %></td> | ||
<td align="center"><%= button_to l(:button_delete), { :action => 'destroy', :id => source }, :confirm => l(:text_are_you_sure), :class => "button-small" %></td> | ||||
</tr> | ||||
|
r10 | <% end %> | ||
|
r105 | </tbody> | ||
|
r10 | </table> | ||
|
r1013 | <p class="pagination"><%= pagination_links_full @auth_source_pages %></p> | ||