move buttons underneath the displayed lines to make the view more mobile compatible
This commit is contained in:
parent
a3f7066cc1
commit
f96ed67cf0
@ -32,8 +32,8 @@
|
|||||||
<th><%= sortable "First Name", "first_name" %></th>
|
<th><%= sortable "First Name", "first_name" %></th>
|
||||||
<th><%= sortable "Last Name", "last_name" %></th>
|
<th><%= sortable "Last Name", "last_name" %></th>
|
||||||
<th><%= sortable "Registration Date", "created_at" %></th>
|
<th><%= sortable "Registration Date", "created_at" %></th>
|
||||||
<th></th>
|
<!-- <th></th>-->
|
||||||
<th></th>
|
<!-- <th></th>-->
|
||||||
</tr>
|
</tr>
|
||||||
<% for person in @favorite_people %>
|
<% for person in @favorite_people %>
|
||||||
<tr>
|
<tr>
|
||||||
@ -57,12 +57,16 @@
|
|||||||
<td>
|
<td>
|
||||||
<%= person['created_at'] %>
|
<%= person['created_at'] %>
|
||||||
</td>
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
<td>
|
<td>
|
||||||
<%= button_to 'Details', crawlers_people_crawler_show_detail_url(:tiss_id => person['tiss_id']) %>
|
<%= button_to 'Details', crawlers_people_crawler_show_detail_url(:tiss_id => person['tiss_id']) %>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<%= button_to "Delete", {:action => "delete_person", :tiss_id => person['tiss_id']}, :method => 'delete' %>
|
<%= button_to "Delete", {:action => "delete_person", :tiss_id => person['tiss_id']}, :method => 'delete' %>
|
||||||
</td>
|
</td>
|
||||||
|
<td></td>
|
||||||
|
<td></td>
|
||||||
</tr>
|
</tr>
|
||||||
<% end %>
|
<% end %>
|
||||||
</table>
|
</table>
|
||||||
|
|||||||
@ -8,8 +8,6 @@
|
|||||||
<tr>
|
<tr>
|
||||||
<th><%= sortable "Title", "title" %></th>
|
<th><%= sortable "Title", "title" %></th>
|
||||||
<th><%= sortable "Registration Date", "created_at" %></th>
|
<th><%= sortable "Registration Date", "created_at" %></th>
|
||||||
<th></th>
|
|
||||||
<th></th>
|
|
||||||
</tr>
|
</tr>
|
||||||
<% for thesis in @favorite_theses %>
|
<% for thesis in @favorite_theses %>
|
||||||
<tr>
|
<tr>
|
||||||
@ -19,6 +17,9 @@
|
|||||||
<td>
|
<td>
|
||||||
<%= thesis['created_at'] %>
|
<%= thesis['created_at'] %>
|
||||||
</td>
|
</td>
|
||||||
|
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
<td>
|
<td>
|
||||||
<%= button_to 'Details', crawlers_theses_crawler_show_detail_url(:id => thesis['id']) %>
|
<%= button_to 'Details', crawlers_theses_crawler_show_detail_url(:id => thesis['id']) %>
|
||||||
</td>
|
</td>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user