zutils 0.2.3 → 0.2.4
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 +4 -4
- data/app/views/shared/_form.html.erb +1 -1
- data/app/views/shared/_index.html.erb +1 -1
- data/app/views/shared/_show.html.erb +1 -1
- data/lib/zutils/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: b1eedd32e33f12af64918a90e28c00f53f83e3be11fc54716d6e89457ceef6d5
|
|
4
|
+
data.tar.gz: 5c8427865592d8b9ce3b99eeb3c1f1616ccd19f20d4415fb0a577e04dfa6a7db
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 7e4d07acef4febb18331f7bc0ec58b2645a84a5cbaf30235821818d7cb2e222dea8d30bde9c8d00068600d9631d60dccdfa304eed819b079065667b1f13b11a4
|
|
7
|
+
data.tar.gz: 6ef3be19b893e365d44d16d86a76394b47fada5812ef7b86484097326cdbcf3f055d03e2edbb44a3051c212d109eff0bc6e51c30ac290c564edea2f2f3f2b4f6
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
<div class="box box-<%= box_class %>">
|
|
13
13
|
<div class="box-header with-border">
|
|
14
14
|
<h3 class="box-title">
|
|
15
|
-
Dados do <%=
|
|
15
|
+
Dados do <%= object.class.model_name.human %>
|
|
16
16
|
<% if parent_resource %>
|
|
17
17
|
<%= link_to 'Cancelar', eval_with_rescue("#{parent_resource.class.model_name.to_s.downcase}_#{controller_name}_path(#{parent_resource.id})"), class: "btn btn-default btn-xs" %>
|
|
18
18
|
<% else %>
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
<div class='box box-<%= box_class %>'>
|
|
9
9
|
<div class="box-header with-border">
|
|
10
10
|
<h3 class="box-title">
|
|
11
|
-
<%=
|
|
11
|
+
<%= Kernel.const_get(controller_name.singularize.camelize).model_name.human.pluralize %>
|
|
12
12
|
</h3>
|
|
13
13
|
</div>
|
|
14
14
|
<div class="box-body">
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
|
|
11
11
|
<div class="box box-<%= box_class %>">
|
|
12
12
|
<div class="box-header with-border">
|
|
13
|
-
<h3 class="box-title"><%=
|
|
13
|
+
<h3 class="box-title"><%= object.class.model_name.human %></h3>
|
|
14
14
|
<% if show_buttons %>
|
|
15
15
|
<% if can? :edit, object %> <!--verificando se o usuario esta logado-->
|
|
16
16
|
<%= link_to eval_with_rescue("edit_#{controller_name.singularize}_path(#{object.id})"), class: "btn btn-warning btn-xs", data: { toggle: 'tooltip', placement: 'top', title: 'Editar' } do %>
|
data/lib/zutils/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: zutils
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.2.
|
|
4
|
+
version: 0.2.4
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Ricardo Viana
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2018-
|
|
11
|
+
date: 2018-12-07 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rails
|