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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 1468d55aaae3d6585377aa3c3fb5a69b57480d04
4
- data.tar.gz: 484bf239a72903922ca52c3adeaf6d1fbb8bcf70
3
+ metadata.gz: 17b04c83ac49dfd34584975e4e244cbf3779b80c
4
+ data.tar.gz: fb078b6cb62ae2031142a605cd0ee5585a7c7846
5
5
  SHA512:
6
- metadata.gz: bc8cc2a15bee9122652ad326f4f0c9b9d52864d6d035b9b306228467619cee785038b2bcf98e1df70db0e0817ad8789ab91372504c107c693797cc2e2657f7fc
7
- data.tar.gz: 8581b923190a18946a14d5b3adc28c5bc0beae33f463d6f691da5e45a121af6c0ab3eeefe821b377c05a0260b443769880023393325215384a483dd436c4aa62
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
- <thead>
5
- <tr>
6
- <th style="width: 30%"><%= t('settings.index.name')%></th>
7
- <th><%= t('settings.index.value')%></th>
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
- <% end%>
21
- </tbody>
22
- </table>
23
- <%= f.submit %>
24
- <% end %>
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>
@@ -1,3 +1,3 @@
1
1
  module ActiveadminSettingsCached
2
- VERSION = "0.0.4"
2
+ VERSION = "0.0.5"
3
3
  end
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
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-05-17 00:00:00.000000000 Z
11
+ date: 2015-07-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activeadmin