effective_resources 1.8.31 → 1.8.32
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
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d4947c3721a74b21dbbda376785836f0ee3555615d56ff0f4850525b17f49d8c
|
4
|
+
data.tar.gz: c70ce7a422d7c99e0ec304955cb33d528ad9d7ab0466222e94d8ec9a958442a0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 690b5ebefd83b651f35e586d596ebc470c05beb4bc871e71cbc711ad331ddf004cf2a22d825c37d03d25ce5edc290c14fe00d8785b2881a6557f21edf6b34c73
|
7
|
+
data.tar.gz: 0c727005edcc162ffe64c8368fd5ba95ca2ff84e5d0073f24177cf521a9540343bd82897efee8d43c09917d111a74b58e51b767c434bd4f044963fc3b4c2b3c5
|
@@ -2,8 +2,10 @@
|
|
2
2
|
|
3
3
|
module EffectiveResourcesWizardHelper
|
4
4
|
|
5
|
-
def render_wizard_sidebar(resource, numbers: true, &block)
|
6
|
-
|
5
|
+
def render_wizard_sidebar(resource, numbers: true, horizontal: false, &block)
|
6
|
+
klasses = ['wizard-sidebar', 'list-group', ('list-group-horizontal' if horizontal)].compact.join(' ')
|
7
|
+
|
8
|
+
sidebar = content_tag(:div, class: klasses) do
|
7
9
|
resource.required_steps.map.with_index do |nav_step, index|
|
8
10
|
render_wizard_sidebar_item(resource, nav_step, (index + 1 if numbers))
|
9
11
|
end.join.html_safe
|
@@ -2,7 +2,7 @@
|
|
2
2
|
#
|
3
3
|
# This module automatically generates slugs based on the :to_s field using a before_validation filter
|
4
4
|
#
|
5
|
-
# Mark your model with '
|
5
|
+
# Mark your model with 'acts_as_slugged' make sure you have a string field :slug
|
6
6
|
|
7
7
|
module ActsAsSlugged
|
8
8
|
extend ActiveSupport::Concern
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: effective_resources
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.8.
|
4
|
+
version: 1.8.32
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Code and Effect
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-09-
|
11
|
+
date: 2021-09-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|