sinatra-hexacta 1.1.1 → 1.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/sinatra/views/constants/group.slim +2 -4
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6e6ef0ed9efc3332978666570392437d4c5fcc3683c5e532c4658fd815a732b9
|
4
|
+
data.tar.gz: 23e3096d130502ec547d298a508df4d020adc7cdf377f32fedf18939184a92a3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3df872511e5a101d460eb0fb1e2e36f23b748df209a797e8f43ed078ca2a6c812474218163a0c7f8db6e4a50ec7637b5281579b1ca26c2b5fdc8a90692661fb4
|
7
|
+
data.tar.gz: 5e2dd1e72b9b7d8f33bbd14fcb969e4fbbff1eb4196d2b4386d424a548e14c7ee3c05d4626958e249c6b2f8e4b65e188401185ca1c9dbe5362b415b40072f45f
|
@@ -30,14 +30,12 @@ a.btn.btn-float.bgm-blue.m-btn.waves-effect.waves-circle.waves-float data-toggle
|
|
30
30
|
|
31
31
|
.modal.fade id="edit-constant" tabindex="-1" role="dialog" aria-labelledby="editConstant"
|
32
32
|
.modal-dialog
|
33
|
-
form.modal-content method="POST" data-toggle="validator"
|
33
|
+
form.modal-content.action method="POST" data-toggle="validator"
|
34
34
|
.modal-content
|
35
35
|
.modal-header
|
36
36
|
h4.modal-title Editar constante
|
37
37
|
.modal-body
|
38
38
|
.row
|
39
|
-
.col-sm-12
|
40
|
-
== select_input({ :id => 'edit_kind', :name => "kind", :elements => [{ :value => nil, :text => 'Elige tipo de constante' }] + (Constant.descendants).collect { |constant_class| { :value => constant_class, :text => constant_class.new.name } }.uniq, :placeholder => "Tipo de constante", :chosen => nil, :required => true })
|
41
39
|
.col-sm-12
|
42
40
|
== input({ :id => 'edit_value', :name => "value", :title => "Valor", :type => 'text', :value => nil, :required => true })
|
43
41
|
.modal-footer
|
@@ -48,7 +46,7 @@ a.btn.btn-float.bgm-blue.m-btn.waves-effect.waves-circle.waves-float data-toggle
|
|
48
46
|
|
49
47
|
javascript:
|
50
48
|
function editConstant(constant_id,kind,value) {
|
51
|
-
$('#edit-constant .action').attr('action', '/constants/' + constant_id);
|
49
|
+
$('#edit-constant form .action').attr('action', '/constants/' + constant_id);
|
52
50
|
|
53
51
|
$('#edit-constant #edit_kind').val(kind);
|
54
52
|
$('#edit-constant #edit_value').val(value);
|