meta2 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/app/views/meta2/settings/edit.html.slim +1 -1
- data/app/views/meta2/settings/index.html.slim +4 -4
- data/lib/meta2/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 56b71e529460ee25f85fef6f2ae8a76ef08ae697
|
4
|
+
data.tar.gz: 6ebdfa9c07f0822bb02e12a03b79c58d96a05b83
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: aefb8a386002b498d7ebc3564f84e892abc9b2d797681d72c465bdde3b64190a88fd7a8ef69213388b31f14ba922aacdabfa04311541c368517a0168362e2be5
|
7
|
+
data.tar.gz: e95dc32eafb34952b201a99bd33d58a3ec42b29b6e3ac349b99b61c55758210869c783f26022a935dd06c81d7309bc82cb9715b4079603e78384c1f573172660
|
data/Gemfile.lock
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
.page-header
|
2
2
|
h1
|
3
|
-
span.pull-right = I18n.t 'meta2.setting.edit', name:
|
3
|
+
span.pull-right = I18n.t 'meta2.setting.edit', name: Meta2::Setting.model_name.human
|
4
4
|
small = link_to 'Back', settings_path(section: @setting.section), class: 'btn btn-default btn-sm'
|
5
5
|
|
6
6
|
= render 'form'
|
@@ -11,9 +11,9 @@ ul.nav.nav-tabs
|
|
11
11
|
table.table.table-borderd
|
12
12
|
tr
|
13
13
|
th = select_tag :section, options_for_select(I18n.t('meta2.setting.sections').to_hash.invert, selected: params[:section].presence || 'parts'), class: 'form-control', id: :meta2_activerecord_section_selecter, data: {path: settings_path}
|
14
|
-
th =
|
15
|
-
th =
|
16
|
-
th =
|
17
|
-
th =
|
14
|
+
th = Meta2::Setting.human_attribute_name(:path)
|
15
|
+
th = Meta2::Setting.human_attribute_name(:name)
|
16
|
+
th = Meta2::Setting.human_attribute_name(:value)
|
17
|
+
th = Meta2::Setting.human_attribute_name(:note)
|
18
18
|
th
|
19
19
|
= render partial: 'record', collection: @settings
|
data/lib/meta2/version.rb
CHANGED