zadok 0.10.1 → 0.10.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 130aad8caa099f9286f7363dd7e1826b198c6be147a52facade0455bbac161bc
4
- data.tar.gz: 2f09820da7d601e3c068551b789563d539019d465b2a240587065fafb395baf0
3
+ metadata.gz: 4a3ca794a653f31695d75b76b87b072db16916cb7b877c612b162cf60c73c367
4
+ data.tar.gz: 0f523646ed57ca76c2c6ca4b17ff19ab2b756d5a1c581cc7a9f9f8eb61ee2e33
5
5
  SHA512:
6
- metadata.gz: 54a5301c8c3c86e897013973f297ef4a85f559085a522cbf043157cf47d48bf5ff9e777a0c2b2d68b9cbe0da9e5d3902922da1df3e7c94b429a6ce8e0b186e79
7
- data.tar.gz: 77da1062d17428880878835d9aed931ce30510f6ca593ed26bb4fc67f58a1265afd2d3c36be1dfbaaae6268b45f5fc9691c7b267c296d3451bb432a48ac9e30c
6
+ metadata.gz: 6781d12b094acdf9d3649368f5efc05b29acece67d2e744e82e1ff4908ba9b6f78671966e554cf64bf2b9e907229c0a3b6ea31a3e70e3d4fec6e6b3d2bf0d3c9
7
+ data.tar.gz: 5a3f1ed023818be0c084c1a2c90662b83bc31d23fd4de571ae63f9a482302255910441a207e334a24c94157d1d4cc7af758019f1daf41bc8b72b68427bcbbafd
@@ -1,13 +1,13 @@
1
1
  .container.resource-edit[id="#{controller_name}-edit"]
2
2
  .card
3
- .card-body
4
- h2.card-title
5
- = page_title
6
- - if can?(:index, resource_class)
7
- = link_to(t("zadok.index.action", model: resource_name(:other)),
8
- resource_url_for(:index),
9
- class: "btn btn-primary text-white float-right")
3
+ h2.card-header
4
+ = page_title
5
+ - if can?(:index, resource_class)
6
+ = link_to(t("zadok.index.action", model: resource_name(:other)),
7
+ resource_url_for(:index),
8
+ class: "btn btn-primary text-white float-right")
10
9
 
10
+ .card-body
11
11
  = form_for(resource,
12
12
  url: resource_url_for(:update),
13
13
  html: { autocomplete: "off" }) do |form|
@@ -1,13 +1,13 @@
1
1
  .container.resource-new[id="#{controller_name}-new"]
2
2
  .card
3
- .card-body
4
- h2.card-title
5
- = page_title
6
- - if can?(:index, resource_class)
7
- = link_to(t("zadok.index.action", model: resource_name(:other)),
8
- resource_url_for(:index),
9
- class: "btn btn-primary text-white float-right")
3
+ h2.card-header
4
+ = page_title
5
+ - if can?(:index, resource_class)
6
+ = link_to(t("zadok.index.action", model: resource_name(:other)),
7
+ resource_url_for(:index),
8
+ class: "btn btn-primary text-white float-right")
10
9
 
10
+ .card-body
11
11
  = form_for(resource, html: { autocomplete: "off" }) do |form|
12
12
  - new_attributes.each do |attr, options|
13
13
  = render("zadok/form/fields/#{options[:type]}",
@@ -1,17 +1,17 @@
1
1
  .container.resource-show[id="#{controller_name}-show"]
2
2
  .card
3
- .card-body
4
- h2.card-title
5
- = resource_name
6
- - if can?(:edit, resource)
7
- = link_to(t("zadok.edit.action", model: resource_name),
8
- resource_url_for(:edit),
9
- class: "btn btn-primary text-white float-right")
10
- - if can?(:index, resource_class)
11
- = link_to(t("zadok.index.action", model: resource_name(:other)),
12
- resource_url_for(:index),
13
- class: "btn btn-primary text-white float-right mr-3")
3
+ h2.card-header
4
+ = resource_name
5
+ - if can?(:edit, resource)
6
+ = link_to(t("zadok.edit.action", model: resource_name),
7
+ resource_url_for(:edit),
8
+ class: "btn btn-primary text-white float-right")
9
+ - if can?(:index, resource_class)
10
+ = link_to(t("zadok.index.action", model: resource_name(:other)),
11
+ resource_url_for(:index),
12
+ class: "btn btn-primary text-white float-right mr-3")
14
13
 
14
+ .card-body
15
15
  - show_attributes.each do |attr|
16
16
  .row
17
17
  .col.text-right
data/lib/zadok/version.rb CHANGED
@@ -3,7 +3,7 @@
3
3
  module Zadok
4
4
  VERSION_MAJOR = 0
5
5
  VERSION_MINOR = 10
6
- VERSION_TINY = 1
6
+ VERSION_TINY = 2
7
7
  VERSION_PRE = nil
8
8
 
9
9
  VERSION = [
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: zadok
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.10.1
4
+ version: 0.10.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Leon Hooijer
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-11-05 00:00:00.000000000 Z
11
+ date: 2018-11-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bootstrap
@@ -260,7 +260,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
260
260
  version: '0'
261
261
  requirements: []
262
262
  rubyforge_project:
263
- rubygems_version: 2.7.6
263
+ rubygems_version: 2.7.8
264
264
  signing_key:
265
265
  specification_version: 4
266
266
  summary: A data management gem.