kablam 0.3.0 → 0.3.1

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: 6c46e6086ff94a714e2543b2ccde4b640eac31ca7355cc69983533d6e0e89d5d
4
- data.tar.gz: fa24731041db437ac8b734153412768f2d260a5f2024f59ce539bb5884c51c0e
3
+ metadata.gz: e8eee1c51ef6be87981d645557e16534af0abd3644a60e2b8d6d0cfe4fa0b2c9
4
+ data.tar.gz: eccbf37a84d73ead34958e4876b0b7f760638180367acb82930cfbfbd4526359
5
5
  SHA512:
6
- metadata.gz: 69a6e72ecae1eb08019f742e5e066d6cf302669d0c16d25d5f2490ef746de1e4c9b05b6671c2976c789a0b3de8f8d846d8e24debdb28705e015117358f32ce72
7
- data.tar.gz: 61988e66d37ac27a22b794c22a6ecf730abd580de4725d8a009ef40e4fd450569681a5e7864b9e0a67941152359a1995a4696b7b6f8a53fc73be40eb07894abb
6
+ metadata.gz: fd576df49bd5a842094580377da29e09606151edde0a746f9f286391dfcc4aa53e72f5129f491d9673343b125142fa022747681565833d2facd5e3db15898d12
7
+ data.tar.gz: 33d3fd504a7a44c859343a196f0755b3b41cbba09d9780a4470dec1e1976d725e331985476783e02ca6f79f317f21c12148aeb6661506ec9d979673acbf94934
@@ -39,7 +39,9 @@
39
39
  <% if ajax_remove.present? %>
40
40
  submitRemove('<%= @form_id %>');
41
41
  <% end %>
42
+ <% if scrolltop %>
42
43
  submitToTop('<%= @form_id %>');
44
+ <% end %>
43
45
  <% if redirect.present? %>
44
46
  submitRedirect('<%= @form_id %>');
45
47
  <% end %>
@@ -8,7 +8,7 @@
8
8
  hidden = hidden || {}
9
9
  ajax_remove = ajax_remove || false
10
10
  redirect = redirect || nil
11
- p redirect
11
+ scrolltop = scrolltop || false
12
12
  %>
13
13
 
14
14
  <%= render "kablam_forms/form_generator", classes: classes, obj: obj, target: target, hidden: hidden, ajax_remove: ajax_remove, redirect: redirect %>
data/kablam.gemspec CHANGED
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'kablam'
3
- s.version = '0.3.0'
3
+ s.version = '0.3.1'
4
4
  s.date = Time.now.strftime("%Y-%m-%d")
5
5
  s.summary = "Kablam! All the things you hate. But Faster."
6
6
  s.description = "Gem to make development of everything in rails faster. Form creation & styling, all the resource routes, even actioncable messaging!\n {NOTE: In Development. NOT READY FOR TESTING.}"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kablam
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sergio Rivas