customize_admin 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
@@ -2,7 +2,7 @@
|
|
2
2
|
<div class="page-header">
|
3
3
|
<h1>
|
4
4
|
Listing <%=resource_class.model_name.human%>
|
5
|
-
a a a Base
|
5
|
+
a a a Base b b bjjjkkk
|
6
6
|
<div class="pull-right">
|
7
7
|
<%= button_to 'New', new_resource_path, :method => :get, :class => "btn primary" %>
|
8
8
|
</div>
|
@@ -17,11 +17,11 @@ Listing <%=resource_class.model_name.human%>
|
|
17
17
|
</p>
|
18
18
|
|
19
19
|
<% end %>
|
20
|
-
|
20
|
+
<%#= test %>
|
21
21
|
</br>
|
22
22
|
<table class="zebra-striped">
|
23
23
|
<tr>
|
24
|
-
<%
|
24
|
+
<% attributes.each do |attr| %>
|
25
25
|
<th> <%= sortable attr, resource_class.human_attribute_name(attr) %> </th>
|
26
26
|
<% end %>
|
27
27
|
<th></th>
|
@@ -32,13 +32,12 @@ Listing <%=resource_class.model_name.human%>
|
|
32
32
|
<% collection.each do |admin_resource| %>
|
33
33
|
<tr>
|
34
34
|
|
35
|
-
<%
|
35
|
+
<% attributes.each do |attr| %>
|
36
36
|
<td><%= admin_resource.public_send(attr).to_s.truncate(20) %> </td>
|
37
37
|
|
38
38
|
|
39
39
|
<% end %>
|
40
|
-
|
41
|
-
<%= render :partial => "index_action", :locals => { :admin_resource => admin_resource } %>
|
40
|
+
<%#= render :partial => "index_action", :locals => { :admin_resource => admin_resource } %>
|
42
41
|
<%= render :partial => "more_index_action", :locals => { :admin_resource => admin_resource } %>
|
43
42
|
|
44
43
|
</tr>
|
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: customize_admin
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 0.0.
|
5
|
+
version: 0.0.3
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Jakub Cieslar
|
@@ -10,7 +10,7 @@ autorequire:
|
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
12
|
|
13
|
-
date: 2012-01-
|
13
|
+
date: 2012-01-04 00:00:00 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: rails
|