semantic-rails-ui 0.0.5 → 0.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/app/helpers/semantic_rails_ui/ui_helper.rb +2 -2
- data/lib/semantic-rails-ui/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ec9cbf7aab33d0fc754bb51939c67c1562dcd2eb
|
4
|
+
data.tar.gz: 53eda83b4d2ed17b0df3e557a15988bfaa0d5563
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fe7609b1c2973560652729263f077e440d4a54873b2999b80517d00b8f196ac5056b69a812433be7bcf26ab1596f9ba759e6b3a2c929bb0caf5b0d3ff08aed26
|
7
|
+
data.tar.gz: 2155c63c52791dece7deb906d11a4089c5d68c86c20c1be0d45cc8acad7f57a65c832400e5f4872b75346ec4f025702453dfa8d19bff290d34f24ee7d9bff91c
|
@@ -11,8 +11,8 @@ module SemanticRailsUi
|
|
11
11
|
end
|
12
12
|
|
13
13
|
def ui_flash_messages(options = {})
|
14
|
-
|
15
|
-
content_tag :div,
|
14
|
+
merged_options = { id: "messages", class: "messages" }.merge(options)
|
15
|
+
content_tag :div, merged_options do
|
16
16
|
messages = ""
|
17
17
|
flash.each do |name, msg|
|
18
18
|
messages += content_tag :div, class: "ui #{name} message" do
|