phcdevworks_notifications 0.17.0 → 0.18.0
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8b9834165b747204192f2c366d28cdc25d6617b2209edc81fc3d93d966a44908
|
4
|
+
data.tar.gz: 0da060df54c881f74e224289623826ae27cb579589b3288686205242dc161fdd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b45d55f8fb7bf027a8e979877e11971e97f7c19cb93538ae2bfdac241e70ef7a2f67789c2d35b5282b96fc3a1d1f9c4e62276109a0303b6754f71774f93fd84b
|
7
|
+
data.tar.gz: 446635aac189750cc5f5c982b52771cd4cebdd2a3e36cc54424167f522f992d779cc92af2f53c2a396131fd287e0e725eeadde4d1e95ef6924420683b6ea505a
|
@@ -1,7 +1,8 @@
|
|
1
1
|
<% flash.each do |flash_type, phc_notification_msg| %>
|
2
2
|
<div class="row">
|
3
|
-
|
4
|
-
<div class="alert
|
3
|
+
<div class="col-md-12">
|
4
|
+
<div class="alert <%= phc_notification(flash_type) %> fade show" role="alert">
|
5
|
+
<!-- <div class="alert-icon"><i class="flaticon-<%= phc_notification(flash_type) %>"></i></div> -->
|
5
6
|
<div class="alert-text"><%= phc_notification_msg %></div>
|
6
7
|
<div class="alert-close">
|
7
8
|
<button type="button" class="close" data-dismiss="alert" aria-label="Close">
|
@@ -1,11 +1,11 @@
|
|
1
1
|
<% if object.errors.any? %>
|
2
2
|
<div class="alert alert-outline-danger fade show" role="alert">
|
3
|
-
<div class="alert-icon"><i class="flaticon-questions-circular-button"></i></div>
|
4
|
-
<h4 class="alert-heading">The form contains <%= pluralize(object.errors.count, "error") %>.</h4>
|
5
3
|
<div class="alert-text">
|
4
|
+
<h4 class="alert-heading text-center">The form contains <%= pluralize(object.errors.count, "error") %>.</h4>
|
5
|
+
<br>
|
6
6
|
<ul class="list-group">
|
7
7
|
<% object.errors.full_messages.each do |phc_notification_msg| %>
|
8
|
-
<li class="list-group-item
|
8
|
+
<li class="list-group-item"><%= phc_notification_msg %></li>
|
9
9
|
<% end %>
|
10
10
|
</ul>
|
11
11
|
</div>
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: phcdevworks_notifications
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.18.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- PHCDevworks
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-07-
|
11
|
+
date: 2019-07-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|