activeadmin_settings_cached 0.0.4 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/views/admin/settings/_index.html.erb +20 -20
- data/lib/activeadmin_settings_cached/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 17b04c83ac49dfd34584975e4e244cbf3779b80c
|
4
|
+
data.tar.gz: fb078b6cb62ae2031142a605cd0ee5585a7c7846
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e47ef12432d4d277ce2f6ac6049a5413fc95baf579768c4c59c03cfe209291173f54ed72ade4dc2d439bc1d7e8296d00b8e2fbd3b5a8308f117efb12a884c154
|
7
|
+
data.tar.gz: f84dcbc26e9323a5d953416417c6d051de51548c37a7dad498bf3be49a444e794b859fd73dab0575b43249baad0836c1c710f09ef61b999019821334e2cb8ef8
|
@@ -1,25 +1,25 @@
|
|
1
1
|
<div>
|
2
2
|
<%= semantic_form_for :settings, :method => :put, url: activeadmin_settings_cached.settings_path do |f| %>
|
3
3
|
<table id="settings" class="index_table index">
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
</tr>
|
9
|
-
</thead>
|
10
|
-
<tbody>
|
11
|
-
<% controller.settings_list.each_pair do |name, value| %>
|
12
|
-
<tr class="odd">
|
13
|
-
<td><strong><%= t("settings.attributes.#{name}.name") %></strong></td>
|
14
|
-
<td>
|
15
|
-
<div class='form'>
|
16
|
-
<ol><%= f.input name, label: false, input_html: { value: value } %></ol>
|
17
|
-
</div>
|
18
|
-
</td>
|
4
|
+
<thead>
|
5
|
+
<tr>
|
6
|
+
<th style="width: 30%"><%= t('settings.index.name')%></th>
|
7
|
+
<th><%= t('settings.index.value')%></th>
|
19
8
|
</tr>
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
9
|
+
</thead>
|
10
|
+
<tbody>
|
11
|
+
<% controller.settings_list.each_pair do |name, value| %>
|
12
|
+
<tr class="odd">
|
13
|
+
<td><strong><%= t("settings.attributes.#{name}.name", default: name) %></strong></td>
|
14
|
+
<td>
|
15
|
+
<div class='form'>
|
16
|
+
<ol><%= f.input name, label: false, input_html: { value: value } %></ol>
|
17
|
+
</div>
|
18
|
+
</td>
|
19
|
+
</tr>
|
20
|
+
<% end%>
|
21
|
+
</tbody>
|
22
|
+
</table>
|
23
|
+
<%= f.submit %>
|
24
|
+
<% end %>
|
25
25
|
</div>
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: activeadmin_settings_cached
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Semyon Pupkov
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-07-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activeadmin
|