Skip to content

Commit

Permalink
Gravity Forms better styling of validations errors
Browse files Browse the repository at this point in the history
  • Loading branch information
nicomollet committed Jun 14, 2021
1 parent d01c98b commit 142219c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
* **New** - Gravity Forms phone number validation
* **Tweak** - Update Bootstrap Datepicker to 1.9.0
* **Tweak** - Gravity Forms better styling of validations errors

### 0.7.8: June 14th, 2021
* **Tweak** - Better Gravity Forms compatibility with bootstrap-datepicker
Expand Down
2 changes: 1 addition & 1 deletion inc/plugins/gravityforms.php
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ function stormbringer_gform_field_content($content, $field, $value, $lead_id, $f
$content = str_replace('gfield_checkbox', 'gfield_checkbox', $content);
$content = str_replace('gfield_radio', 'gfield_radio', $content);
$content = str_replace('gfield_error', 'gfield_error has-error', $content);
$content = str_replace('validation_message', 'help-inline', $content);
$content = str_replace('validation_message', 'help-block', $content);
$content = str_replace('ginput_container', 'form-input ginput_container', $content);
$content = str_replace('small', 'form-control input-sm', $content);
$content = str_replace('medium', 'form-control input-md', $content);
Expand Down

0 comments on commit 142219c

Please sign in to comment.