phcdevworks_notifications 0.11.0 → 0.12.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: 52cfdbbc3ccc431b470001d63f5257001cb34d50d74622120dbfbf423788c435
|
4
|
+
data.tar.gz: 82b759b959f7cc4255f8fbc749bb1c93bf44cbb6085508f7a8e4c2c72df6eb3c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4d997974ab4ea6b336eb62a938b065906cdc2bc43c9faae4723f079dfcb1fa7eecdc40641e972d85b0edb6b60642002d49a5644cf06fdc188fb893f81b590924
|
7
|
+
data.tar.gz: 2c8ca9a8e1dec642ea7ae46dc982f85be5bbe941ace64d92671bbcbecbb903c6945cf7435237b45c726eab9368cc3afa49851b092177f8a80b1a02a527667e5c
|
@@ -0,0 +1,12 @@
|
|
1
|
+
<div class="row">
|
2
|
+
<div class="col-md-12">
|
3
|
+
<div class="alert alert-outline-<%= phc_notification(type) %> fade show" role="alert">
|
4
|
+
<div class="alert-text"><%= msg %></div>
|
5
|
+
<div class="alert-close">
|
6
|
+
<button type="button" class="close" data-dismiss="alert" aria-label="Close">
|
7
|
+
<span aria-hidden="true"><i class="la la-close"></i></span>
|
8
|
+
</button>
|
9
|
+
</div>
|
10
|
+
</div>
|
11
|
+
</div>
|
12
|
+
</div>
|
@@ -0,0 +1,18 @@
|
|
1
|
+
<% if object.errors.any? %>
|
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
|
+
<div class="alert-text">
|
6
|
+
<ul class="list-group">
|
7
|
+
<% object.errors.full_messages.each do |phc_notification_msg| %>
|
8
|
+
<li class="list-group-item list-group-item-danger borderless"><%= phc_notification_msg %></li>
|
9
|
+
<% end %>
|
10
|
+
</ul>
|
11
|
+
</div>
|
12
|
+
<div class="alert-close">
|
13
|
+
<button type="button" class="close" data-dismiss="alert" aria-label="Close">
|
14
|
+
<span aria-hidden="true"><i class="la la-close"></i></span>
|
15
|
+
</button>
|
16
|
+
</div>
|
17
|
+
</div>
|
18
|
+
<% end %>
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: phcdevworks_notifications
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.12.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- PHCDevworks
|
@@ -87,6 +87,8 @@ files:
|
|
87
87
|
- app/views/layouts/phcdevworks_notifications/application.html.erb
|
88
88
|
- app/views/phcdevworks_notifications/bootstrap/_notifications.html.erb
|
89
89
|
- app/views/phcdevworks_notifications/bootstrap/_validations.html.erb
|
90
|
+
- app/views/phcdevworks_notifications/metronic/_notifications.html.erb
|
91
|
+
- app/views/phcdevworks_notifications/metronic/_validations.html.erb
|
90
92
|
- lib/phcdevworks_notifications.rb
|
91
93
|
- lib/phcdevworks_notifications/engine.rb
|
92
94
|
- lib/phcdevworks_notifications/version.rb
|