cama_contact_form 0.0.7 → 0.0.8
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
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7e9cbab7d8e22d41c582127770527d25e881dc10
|
4
|
+
data.tar.gz: 1a012a43a1d1de4f49fa34949b5eaeab26b7927b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a3d445ab1784ae18a8940b9956f2f7d6962ff72fe6cef551a64bdb120c32ace938abdcfac2d4f9e4866611a920962554778c16cb0ac5251b24a775b394b81b77
|
7
|
+
data.tar.gz: d66c1960768620964db77037623cfccf1ec0ececbc409898ea0d1e9f1b16cd3198d699d505cee15095dcdb1f4e7453c67c2f51db74b25a0e82479be91762d66e
|
@@ -98,6 +98,8 @@ module Plugins::CamaContactForm::MainHelper
|
|
98
98
|
temp2= cama_form_select_multiple_bootstrap(ob, ob[:label], "checkbox",values)
|
99
99
|
when 'submit'
|
100
100
|
temp2 = "<button #{ob[:custom_attrs].to_attr_format} type=\"#{ob[:field_type]}\" name=\"#{f_name}\" class=\"#{ob[:custom_class].present? ? ob[:custom_class] : 'btn btn-default'}\">#{ob[:label]}</button>"
|
101
|
+
when 'button'
|
102
|
+
temp2 = "<button #{ob[:custom_attrs].to_attr_format} type='button' name=\"#{f_name}\" class=\"#{ob[:custom_class].present? ? ob[:custom_class] : 'btn btn-default'}\">#{ob[:label]}</button>"
|
101
103
|
when 'text', 'website', 'email'
|
102
104
|
class_type = ""
|
103
105
|
class_type = "railscf-field-#{ob[:field_type]}" if ob[:field_type]=="website"
|
@@ -177,6 +177,7 @@
|
|
177
177
|
<a class="btn btn-default" data-field-type="captcha" ><span class="symbol"><span class="glyphicon glyphicon-barcode"></span></span> <%= t('.fields.captcha', default: 'Captcha') %> </a>
|
178
178
|
<a class="btn btn-default" data-field-type="file" ><span class="fa fa-cloud-upload"></span> <%= t('.fields.captcha', default: 'Upload File') %></a>
|
179
179
|
<a class="btn btn-default" data-field-type="submit" ><span class="fa fa-button"></span> <%= t('.fields.submit', default: 'Submit Button') %></a>
|
180
|
+
<a class="btn btn-default" data-field-type="button" ><span class="fa fa-button"></span> <%= t('.fields.button', default: 'Simple Button') %></a>
|
180
181
|
</div>
|
181
182
|
</div>
|
182
183
|
</div>
|
data/config/locales/es.yml
CHANGED