hobo_bootstrap 2.0.0 → 2.0.1
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.
- data/VERSION +1 -1
- data/taglibs/index_page.dryml +5 -2
- data/taglibs/login.dryml +1 -1
- metadata +2 -2
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
2.0.
|
|
1
|
+
2.0.1
|
data/taglibs/index_page.dryml
CHANGED
|
@@ -66,7 +66,7 @@ and your controller like this
|
|
|
66
66
|
<extend tag="index-page">
|
|
67
67
|
<old-index-page: without-count without-top-page-nav merge>
|
|
68
68
|
|
|
69
|
-
<new-link: replace/>
|
|
69
|
+
<new-link: replace/>
|
|
70
70
|
<content-header: class="well"/>
|
|
71
71
|
<before-heading:>
|
|
72
72
|
<a action="new" to="&model" param="new-link" class="btn pull-right btn-primary">
|
|
@@ -83,7 +83,10 @@ and your controller like this
|
|
|
83
83
|
if can_edit?(this.first, field_names[0])
|
|
84
84
|
field_names << "actions"
|
|
85
85
|
end
|
|
86
|
-
|
|
86
|
+
# force to work only with strings
|
|
87
|
+
field_names.map!(&:to_s)
|
|
88
|
+
field_names.delete(klass.name_attribute.to_s)
|
|
89
|
+
field_names.unshift("this")
|
|
87
90
|
field_names = field_names.join(', ')
|
|
88
91
|
end
|
|
89
92
|
%>
|
data/taglibs/login.dryml
CHANGED
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
<if test="&signup_url" class='nav-item'>
|
|
52
52
|
<t key="hobo.support.or">or</t> <a param="signup" href="&signup_url"><t key="hobo.login.signup">Sign up</t></a>
|
|
53
53
|
</if>
|
|
54
|
-
or <a href="&forgot_password_url" param="forgot-password"
|
|
54
|
+
<if test="&forgot_password_url">or <a href="&forgot_password_url" param="forgot-password"><t key="hobo.login.forgot_password">Forgot your password?</t></a></if>
|
|
55
55
|
</div>
|
|
56
56
|
|
|
57
57
|
</form>
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: hobo_bootstrap
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.0.
|
|
4
|
+
version: 2.0.1
|
|
5
5
|
prerelease:
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2013-
|
|
12
|
+
date: 2013-06-23 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: hobo
|