app/views/cms/page_routes/index.html.erb in browsercms-3.0.0 vs app/views/cms/page_routes/index.html.erb in browsercms-3.0.1
- old
+ new
@@ -18,33 +18,39 @@
})
<% end %>
<% end %>
<% content_for :functions do %>
- <%= link_to(span_tag("Add"), new_cms_page_route_path, :class => "button") %>
- <%= link_to(span_tag("Edit"), '#', :id => 'edit_button', :class => "button disabled") %>
- <%= link_to span_tag("Delete"), "#",
+ <%= link_to(span_tag(" Add "), new_cms_page_route_path, :class => "button") %>
+ <%= link_to(span_tag(" Edit "), '#', :id => 'edit_button', :class => "button disabled") %>
+ <%= link_to span_tag("<span class=\"delete_img\"> </span>Delete"), "#",
:id => "delete_button",
:class => "button disabled http_delete",
:onclick => "return confirm('Are you sure you want to delete this Page Route?')" %>
<%= link_to(span_tag("View"), "#", :id => 'view_button', :class => "button") %>
<%= link_to(span_tag("View Rails Routes"), cms_routes_path, :class => "button") %>
<% end %>
<div class="roundedcorners">
<table class="data">
<tr>
- <th class="first"></th>
- <th><div class="dividers">Name</div></th>
- <th><div>Pattern</div></th>
- <th class="last"></th>
+ <th class="first" colspan="2"><div class="dividers">Name</div></th>
+ <th colspan="2" class="last"><div class="dividers">Pattern</div></th>
</tr>
<% @page_routes.each do |page_route| %>
<tr id="page_route_<%= page_route.id %>">
<td class="first"></td>
<td><%=h page_route.name %></td>
<td><%=h page_route.pattern %></td>
<td class="last"></td>
</tr>
<% end %>
+ <tr>
+ <td colspan="4" class="buffer"></td>
+ </tr>
+
</table>
+<div class="tl"></div>
+<div class="tr"></div>
+<div class="bl"></div>
+<div class="br"></div>
</div>