phcdevworks_mailer_form 0.0.6b → 0.0.7b

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: 20d96d393089e6e99d3cf0bebf1f502066846ed547ae66c90f05cc853b736946
4
- data.tar.gz: 6202bbedad2adeda76e4e8959bb4a0a4613bf55e032492ae63571623c7979a44
3
+ metadata.gz: 84f0d5c7866c6bdedce7b018564198229b95425ab7e474c88b790e1c0c210c51
4
+ data.tar.gz: e2ce5d7aefa33e5afe824f57bf12e4dfa9075abf849ed9a753c9cb5c4dec7448
5
5
  SHA512:
6
- metadata.gz: 89788c88f10e877ad01aa0b73fad920d3142beace9bf469443902626568c697f4d79e1b11192dcc321997296663d805f8c528c9f90107e048b2ac60afc4b9207
7
- data.tar.gz: df835fa87cdb8fb128db18b995310a0e9a04c66eb30c43e5ed43405d6766f0882f9e805990fe07dd4ffae85fc88e36d480ab6f1e6870da97ae64425db02ba8dd
6
+ metadata.gz: 93c22da59e76b854a92bf05c5f10a02a7e89f6ea3b438d5d0770be37c90aea1d4e5cae3bad7aa5c388997ddad3bbc65b6846ccfe0b63bacfe2c21a0805cd0029
7
+ data.tar.gz: 1e41b57d22506bc42052906af251536177de6a2ba1317a98d99e52772add300777d7cd729c0e3c381d50c9086fc1ef820f87ad81e52bee3f378ccf6bbbca0aee
@@ -24,7 +24,7 @@ module PhcdevworksMailerForm
24
24
 
25
25
  # Whitelist
26
26
  def contact_params
27
- params.require(:contact_form).permit(:mailer_name, :mailer_email, :mailer_department, :mailer_subject, :mailer_message, :captcha)
27
+ params.require(:contact_form).permit(:mailer_name, :mailer_email, :mailer_department, :mailer_subject, :mailer_message, :mailer_captcha)
28
28
  end
29
29
 
30
30
  end
@@ -1,4 +1,8 @@
1
- <%= form_for @contact, url: contact_us_path do |f| %>
1
+ <%= form_for @contact, url: contact_us_path, remote: true do |f| %>
2
+
3
+ <!-- -PHC- Content - Contact Form - Container - Row - Container - Form - Notifications -->
4
+ <%= render "phcdevworks_notifications/bootstrap/validations", :object => @contact %>
5
+ <!-- -PHC- Content - Contact Form - Container - Row - Container - Form - Notifications -->
2
6
 
3
7
  <div class="form-group">
4
8
  <%= f.text_field :mailer_name, required: true, class: "form-control", placeholder: "Name" %>
@@ -1,3 +1,3 @@
1
1
  module PhcdevworksMailerForm
2
- VERSION = "0.0.6b"
2
+ VERSION = "0.0.7b"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: phcdevworks_mailer_form
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6b
4
+ version: 0.0.7b
5
5
  platform: ruby
6
6
  authors:
7
7
  - PHCDevworks