Project

General

Profile

« Previous | Next » 

Revision 82e47ae0

Added by Amos Benari about 12 years ago

  • ID 82e47ae0f86994702c3a084cc6150250a81034ee

updates UI to bootstrap v2

View differences:

app/views/bookmarks/index.html.erb
<% title "Manage Bookmarks" %>
<div class="title_action"></div>
<table class="list">
<table class="table table-bordered table-striped">
<tr>
<th>Name</th>
<th>Query</th>
......
<td><%=h bookmark.controller %></td>
<td><%=h bookmark.public %></td>
<td align="right">
<%= display_link_if_authorized "Delete", hash_for_bookmark_path(:id => bookmark.name, :auth_action => :destroy), :confirm => "Delete #{bookmark.name}?", :method => :delete %>
<%= display_delete_if_authorized hash_for_bookmark_path(:id => bookmark.name), :confirm => "Delete #{bookmark.name}?" %>
</td>
</tr>
<% end %>

Also available in: Unified diff