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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b8db700323222cf195e1fc968c6ed3d0d69e2b8e988fb14a0ea05edfaa066efb
4
- data.tar.gz: 648716c0e7d0adf003cc9d04a1fffc6cacb0c41789902af1217780e7df600bf2
3
+ metadata.gz: 6e6ef0ed9efc3332978666570392437d4c5fcc3683c5e532c4658fd815a732b9
4
+ data.tar.gz: 23e3096d130502ec547d298a508df4d020adc7cdf377f32fedf18939184a92a3
5
5
  SHA512:
6
- metadata.gz: dea149aa1379c39b280c0aad1946cfabea46fa798e90632a9f767adf71bc134eaf7a6980c65c8e772df01da3ee1b744db42f0cca9191a406cb12d9aae5e8a942
7
- data.tar.gz: 9aafab704a4ff92c917082ab6ddd159b581cdf376073de7d21280c7504bde6d0af5561b159bcaeceaa39ba63f94e438c50286be05dbfff869a660534558c7ddb
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);
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sinatra-hexacta
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.1
4
+ version: 1.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Marco Zanger