flexi_generators 0.3.1 → 0.3.2
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.
- data/lib/generators/flexi/layout/templates/dashboard.html.erb +1 -1
- data/lib/generators/flexi/layout/templates/error_messages_helper.rb +1 -1
- data/lib/generators/flexi/layout/templates/layout.css +1 -3
- data/lib/generators/flexi/layout/templates/layout.html.erb +2 -2
- data/lib/generators/flexi/scaffold/templates/_form.html.erb +0 -2
- data/lib/generators/flexi/scaffold/templates/edit.html.erb +2 -0
- data/lib/generators/flexi/scaffold/templates/index.html.erb +1 -1
- data/lib/generators/flexi/scaffold/templates/new.html.erb +2 -0
- data/lib/twitter-bootstrap/version.rb +1 -1
- data/lib/version.rb +1 -1
- data/vendor/assets/images/flexi/glyphicons-halflings.png +0 -0
- data/vendor/assets/javascripts/flexi/bootstrap.js +2275 -1824
- data/vendor/assets/javascripts/flexi/bootstrap.min.js +1 -1
- data/vendor/assets/stylesheets/flexi/bootstrap-responsive.css +1109 -815
- data/vendor/assets/stylesheets/flexi/bootstrap-responsive.min.css +2 -2
- data/vendor/assets/stylesheets/flexi/bootstrap.css +6158 -4983
- data/vendor/assets/stylesheets/flexi/bootstrap.min.css +2 -2
- metadata +2 -2
@@ -9,7 +9,7 @@ module ErrorMessagesHelper
|
|
9
9
|
# forced as error but may not abstractly always be the case
|
10
10
|
content_tag(:div, :class => "alert alert-danger") do
|
11
11
|
list_items = messages.map { |msg| content_tag(:li, msg.html_safe) }
|
12
|
-
content_tag(:
|
12
|
+
content_tag(:h3, options[:header_message].html_safe) + content_tag(:p, options[:message].html_safe) + content_tag(:ul, list_items.join.html_safe)
|
13
13
|
end
|
14
14
|
end
|
15
15
|
end
|
@@ -1,9 +1,7 @@
|
|
1
1
|
/* Your custom css stylesheets goes here */
|
2
|
-
body{padding-top:
|
3
|
-
h1{margin-bottom:20px !important;}
|
2
|
+
body{padding-top:40px;padding-bottom:40px;}
|
4
3
|
fieldset legend{margin-bottom:0;}
|
5
4
|
.sidebar-nav{padding:9px 0;}
|
6
|
-
.navbar .brand{color:#FFFFFF !important;}
|
7
5
|
.page-header{padding-bottom:0px !important;}
|
8
6
|
.actions{text-align:center !important;width:15%}
|
9
7
|
/* error fields */
|
@@ -55,10 +55,10 @@
|
|
55
55
|
</div><!--/span-->
|
56
56
|
|
57
57
|
<div class="span9">
|
58
|
-
<%%= display_flash_message %>
|
59
58
|
<div class="page-header">
|
60
|
-
<%%= content_tag :
|
59
|
+
<%%= content_tag :h3, yield(:title) if show_title %>
|
61
60
|
</div>
|
61
|
+
<%%= display_flash_message %>
|
62
62
|
<%%= yield %>
|
63
63
|
</div><!--/span-->
|
64
64
|
</div><!--/row-->
|
data/lib/version.rb
CHANGED
Binary file
|