caseadilla 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (73) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +0 -0
  3. data/Gemfile +0 -0
  4. data/LICENSE.txt +0 -0
  5. data/README.md +0 -0
  6. data/Rakefile +0 -0
  7. data/app/assets/fonts/caseadilla/glyphicons-halflings-regular.eot +0 -0
  8. data/app/assets/fonts/caseadilla/glyphicons-halflings-regular.svg +228 -228
  9. data/app/assets/fonts/caseadilla/glyphicons-halflings-regular.ttf +0 -0
  10. data/app/assets/fonts/caseadilla/glyphicons-halflings-regular.woff +0 -0
  11. data/app/assets/images/caseadilla/caseadilla.png +0 -0
  12. data/app/assets/javascripts/caseadilla/bootstrap.js +2114 -2114
  13. data/app/assets/javascripts/caseadilla/bootstrap3-wysihtml5.js +520 -520
  14. data/app/assets/javascripts/caseadilla/caseadilla.js +50 -50
  15. data/app/assets/javascripts/caseadilla/html5shiv.js +8 -8
  16. data/app/assets/javascripts/caseadilla/wysihtml5-0.3.0.min.js +260 -260
  17. data/app/assets/stylesheets/caseadilla/bootstrap-glyphicons.css.scss +2 -2
  18. data/app/assets/stylesheets/caseadilla/bootstrap-theme.css +442 -442
  19. data/app/assets/stylesheets/caseadilla/bootstrap-wysihtml5.css +101 -101
  20. data/app/assets/stylesheets/caseadilla/bootstrap.css +6203 -6203
  21. data/app/assets/stylesheets/caseadilla/caseadilla-bootstrap-overrides.css.scss +79 -79
  22. data/app/assets/stylesheets/caseadilla/caseadilla.scss +269 -269
  23. data/app/assets/stylesheets/caseadilla/login.css.scss +80 -80
  24. data/app/controllers/caseadilla/caseadilla_controller.rb +56 -56
  25. data/app/controllers/caseadilla/caseadilla_user_sessions_controller.rb +35 -35
  26. data/app/controllers/caseadilla/password_resets_controller.rb +63 -63
  27. data/app/controllers/caseadilla/roles_controller.rb +64 -64
  28. data/app/controllers/caseadilla/users_controller.rb +117 -117
  29. data/app/helpers/caseadilla/caseadilla_helper.rb +261 -261
  30. data/app/mailers/caseadilla/caseadilla_notification.rb +38 -38
  31. data/app/views/caseadilla/caseadilla/blank.html.erb +11 -11
  32. data/app/views/caseadilla/caseadilla_notification/generate_new_password.erb +11 -11
  33. data/app/views/caseadilla/caseadilla_notification/new_user_information.erb +11 -11
  34. data/app/views/caseadilla/caseadilla_notification/password_reset_instructions.erb +10 -10
  35. data/app/views/caseadilla/caseadilla_user_sessions/new.html.erb +38 -38
  36. data/app/views/caseadilla/roles/_form.html.erb +11 -11
  37. data/app/views/caseadilla/roles/_table.html.erb +27 -27
  38. data/app/views/caseadilla/roles/index.html.erb +14 -14
  39. data/app/views/caseadilla/roles/new.html.erb +17 -17
  40. data/app/views/caseadilla/roles/show.html.erb +17 -17
  41. data/app/views/caseadilla/users/index.html.erb +36 -36
  42. data/app/views/caseadilla/users/new.html.erb +49 -49
  43. data/app/views/caseadilla/users/show.html.erb +38 -38
  44. data/app/views/layouts/caseadilla_auth.html.erb +36 -36
  45. data/app/views/layouts/caseadilla_main.html.erb +110 -118
  46. data/caseadilla.gemspec +48 -48
  47. data/config/initializers/will_paginate.rb +39 -39
  48. data/config/routes.rb +22 -22
  49. data/lib/caseadilla.rb +13 -13
  50. data/lib/caseadilla/engine.rb +34 -34
  51. data/lib/caseadilla/version.rb +1 -1
  52. data/lib/generators/caseadilla/install/install_generator.rb +153 -153
  53. data/lib/generators/caseadilla/install/templates/app/assets/javascripts/caseadilla/custom.js +1 -1
  54. data/lib/generators/caseadilla/install/templates/app/assets/stylesheets/caseadilla/custom.css.scss +2 -2
  55. data/lib/generators/caseadilla/install/templates/app/helpers/caseadilla/config_helper.rb +44 -44
  56. data/lib/generators/caseadilla/install/templates/app/models/user.rb +23 -23
  57. data/lib/generators/caseadilla/install/templates/app/views/caseadilla/layouts/_tab_navigation.html.erb +1 -1
  58. data/lib/generators/caseadilla/install/templates/app/views/caseadilla/layouts/_top_navigation.html.erb +3 -3
  59. data/lib/generators/caseadilla/install/templates/public/robots.txt +4 -4
  60. data/lib/generators/caseadilla/install/templates/steak/config/initializers/caseadilla.rb +7 -7
  61. data/lib/generators/caseadilla/install/templates/steak/db/migrate/add_name_to_users.rb +8 -8
  62. data/lib/generators/caseadilla/install/templates/veggie/config/initializers/caseadilla.rb +7 -7
  63. data/lib/generators/caseadilla/scaffold/scaffold_generator.rb +110 -110
  64. data/lib/generators/caseadilla/scaffold/templates/controller.rb +71 -71
  65. data/lib/generators/caseadilla/scaffold/templates/migration.rb +12 -12
  66. data/lib/generators/caseadilla/scaffold/templates/model.rb +2 -2
  67. data/lib/generators/caseadilla/scaffold/templates/views/_form.html.erb +11 -11
  68. data/lib/generators/caseadilla/scaffold/templates/views/_table.html.erb +18 -18
  69. data/lib/generators/caseadilla/scaffold/templates/views/index.html.erb +14 -14
  70. data/lib/generators/caseadilla/scaffold/templates/views/new.html.erb +17 -17
  71. data/lib/generators/caseadilla/scaffold/templates/views/show.html.erb +17 -17
  72. data/lib/railties/tasks.rake +31 -31
  73. metadata +2 -2
@@ -1,50 +1,50 @@
1
- <h2>Add a new user</h2>
2
-
3
- <%= form_for @caseadilla_user, url: caseadilla_users_path do |form| %>
4
-
5
- <div class="row">
6
- <div class="col-lg-6">
7
- <%= caseadilla_text_field form, @caseadilla_user, :first_name %>
8
- </div>
9
- <div class="col-lg-6">
10
- <%= caseadilla_text_field form, @caseadilla_user, :last_name %>
11
- </div>
12
- </div>
13
-
14
- <div class="row">
15
- <div class="col-lg-6">
16
- <%= caseadilla_text_field form, @caseadilla_user, :email %>
17
- </div>
18
- <div class="col-lg-6">
19
- <%= caseadilla_time_zone_select form, @caseadilla_user, :time_zone, ActiveSupport::TimeZone.us_zones %>
20
- </div>
21
- </div>
22
-
23
- <!-- TODO: User roles -->
24
-
25
- <div class="row">
26
- <div class="col-lg-6">
27
- <%= caseadilla_password_field form, @caseadilla_user, :password, {:caseadilla_label => "Password"} %>
28
- </div>
29
- <div class="col-lg-6">
30
- <%= caseadilla_password_field form, @caseadilla_user, :password_confirmation, {:caseadilla_label => "Repeat password"} %>
31
- </div>
32
- <div class="col-lg-12 password-checkbox">
33
- <div class="checkbox">
34
- <label>
35
- <%= check_box_tag :generate_random_password, "1", false, {:id => 'generate-random-password-checkbox'} %> Generate random password
36
- </label>
37
- </div>
38
- </div>
39
- </div>
40
-
41
- <p class="submits">
42
- <%= link_to 'Cancel', caseadilla_users_path, :class => 'btn btn-mini btn-danger' %>
43
- <%= form.submit "Add new user", :class => "btn btn-mini btn-primary" %>
44
- </p>
45
-
46
- <% end %>
47
-
48
- <%= content_for :sidebar do %>
49
- <li><%= link_to "#{caseadilla_show_icon('th-list')}Back to list".html_safe, caseadilla_users_path %></li>
1
+ <h2>Add a new user</h2>
2
+
3
+ <%= form_for @caseadilla_user, url: caseadilla_users_path do |form| %>
4
+
5
+ <div class="row">
6
+ <div class="col-lg-6">
7
+ <%= caseadilla_text_field form, @caseadilla_user, :first_name %>
8
+ </div>
9
+ <div class="col-lg-6">
10
+ <%= caseadilla_text_field form, @caseadilla_user, :last_name %>
11
+ </div>
12
+ </div>
13
+
14
+ <div class="row">
15
+ <div class="col-lg-6">
16
+ <%= caseadilla_text_field form, @caseadilla_user, :email %>
17
+ </div>
18
+ <div class="col-lg-6">
19
+ <%= caseadilla_time_zone_select form, @caseadilla_user, :time_zone, ActiveSupport::TimeZone.us_zones %>
20
+ </div>
21
+ </div>
22
+
23
+ <!-- TODO: User roles -->
24
+
25
+ <div class="row">
26
+ <div class="col-lg-6">
27
+ <%= caseadilla_password_field form, @caseadilla_user, :password, {:caseadilla_label => "Password"} %>
28
+ </div>
29
+ <div class="col-lg-6">
30
+ <%= caseadilla_password_field form, @caseadilla_user, :password_confirmation, {:caseadilla_label => "Repeat password"} %>
31
+ </div>
32
+ <div class="col-lg-12 password-checkbox">
33
+ <div class="checkbox">
34
+ <label>
35
+ <%= check_box_tag :generate_random_password, "1", false, {:id => 'generate-random-password-checkbox'} %> Generate random password
36
+ </label>
37
+ </div>
38
+ </div>
39
+ </div>
40
+
41
+ <p class="submits">
42
+ <%= link_to 'Cancel', caseadilla_users_path, :class => 'btn btn-mini btn-danger' %>
43
+ <%= form.submit "Add new user", :class => "btn btn-mini btn-primary" %>
44
+ </p>
45
+
46
+ <% end %>
47
+
48
+ <%= content_for :sidebar do %>
49
+ <li><%= link_to "#{caseadilla_show_icon('th-list')}Back to list".html_safe, caseadilla_users_path %></li>
50
50
  <% end %>
@@ -1,39 +1,39 @@
1
- <h2>View user</h2>
2
-
3
- <%= simple_form_for @caseadilla_user, as: resource_name, url: caseadilla_user_path(@caseadilla_user), html:{ method: :put } do |f| %>
4
-
5
- <div class="row">
6
- <div class="col-lg-6">
7
- <%= caseadilla_text_field f, f.object, :first_name, {value: @caseadilla_user.first_name, caseadilla_label: "First name"} %>
8
- </div>
9
- <div class="col-lg-6">
10
- <%= caseadilla_text_field f, f.object, :last_name, {value: @caseadilla_user.last_name, caseadilla_label: "Last name"} %>
11
- </div>
12
- </div>
13
-
14
- <div class="row">
15
- <div class="col-lg-6">
16
- <%= caseadilla_text_field f, f.object, :email, {value: @caseadilla_user.email} %>
17
- </div>
18
- <div class="col-lg-6">
19
- <%= caseadilla_time_zone_select f, f.object, :time_zone, ActiveSupport::TimeZone.us_zones, {selected: @caseadilla_user.time_zone} %>
20
- </div>
21
- </div>
22
-
23
- <div class="row">
24
- <div class="col-lg-6">
25
- <%= caseadilla_collection_select f, f.object, :role_id, Role.all, :id, :title, {selected: @caseadilla_user.role_id} %>
26
- </div>
27
- </div>
28
-
29
- <p class="submits">
30
- <%= link_to 'Cancel', caseadilla_users_path, :class => 'btn btn-mini btn-danger' %>
31
- <%= f.submit "Save changes", :class => "btn btn-mini btn-primary" %>
32
- </p>
33
- <% end %>
34
-
35
- <%= content_for :sidebar do %>
36
- <% if current_user #.is_admin? %>
37
- <li><%= link_to "#{caseadilla_show_icon('th-list')}Back to list".html_safe, caseadilla_users_path %></li>
38
- <% end %>
1
+ <h2>View user</h2>
2
+
3
+ <%= simple_form_for @caseadilla_user, as: resource_name, url: caseadilla_user_path(@caseadilla_user), html:{ method: :put } do |f| %>
4
+
5
+ <div class="row">
6
+ <div class="col-lg-6">
7
+ <%= caseadilla_text_field f, f.object, :first_name, {value: @caseadilla_user.first_name, caseadilla_label: "First name"} %>
8
+ </div>
9
+ <div class="col-lg-6">
10
+ <%= caseadilla_text_field f, f.object, :last_name, {value: @caseadilla_user.last_name, caseadilla_label: "Last name"} %>
11
+ </div>
12
+ </div>
13
+
14
+ <div class="row">
15
+ <div class="col-lg-6">
16
+ <%= caseadilla_text_field f, f.object, :email, {value: @caseadilla_user.email} %>
17
+ </div>
18
+ <div class="col-lg-6">
19
+ <%= caseadilla_time_zone_select f, f.object, :time_zone, ActiveSupport::TimeZone.us_zones, {selected: @caseadilla_user.time_zone} %>
20
+ </div>
21
+ </div>
22
+
23
+ <div class="row">
24
+ <div class="col-lg-6">
25
+ <%= caseadilla_collection_select f, f.object, :role_id, Role.all, :id, :title, {selected: @caseadilla_user.role_id} %>
26
+ </div>
27
+ </div>
28
+
29
+ <p class="submits">
30
+ <%= link_to 'Cancel', caseadilla_users_path, :class => 'btn btn-mini btn-danger' %>
31
+ <%= f.submit "Save changes", :class => "btn btn-mini btn-primary" %>
32
+ </p>
33
+ <% end %>
34
+
35
+ <%= content_for :sidebar do %>
36
+ <% if current_user #.is_admin? %>
37
+ <li><%= link_to "#{caseadilla_show_icon('th-list')}Back to list".html_safe, caseadilla_users_path %></li>
38
+ <% end %>
39
39
  <% end %>
@@ -1,36 +1,36 @@
1
- <!DOCTYPE html>
2
- <html lang="en">
3
- <head>
4
- <meta charset="utf-8">
5
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
- <title>Welcome to <%= caseadilla_config_website_name %></title>
7
- <%= stylesheet_link_tag "caseadilla/login" %>
8
- <%= javascript_include_tag "caseadilla/caseadilla" %>
9
- <%= csrf_meta_tag %>
10
-
11
- <!-- HTML5 shim, for IE6-8 support of HTML5 elements -->
12
- <!--[if lt IE 9]>
13
- <%= javascript_include_tag("caseadilla/html5shiv") %>
14
- <![endif]-->
15
-
16
- </head>
17
-
18
- <body>
19
- <div class="container-narrow">
20
- <div class="jumbotron">
21
- <div class="row brand">
22
- <%= image_tag(caseadilla_config_logo, :alt => caseadilla_config_website_name) %>
23
- </div>
24
- <%= yield %>
25
- </div>
26
- <div class="row">
27
- <div class="col-lg-12">
28
- <hr />
29
- <footer>
30
- <p><%= caseadilla_get_footer_string(false) %></p>
31
- </footer>
32
- </div>
33
- </div>
34
- </div>
35
- </body>
36
- </html>
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="utf-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>Welcome to <%= caseadilla_config_website_name %></title>
7
+ <%= stylesheet_link_tag "caseadilla/login" %>
8
+ <%= javascript_include_tag "caseadilla/caseadilla" %>
9
+ <%= csrf_meta_tag %>
10
+
11
+ <!-- HTML5 shim, for IE6-8 support of HTML5 elements -->
12
+ <!--[if lt IE 9]>
13
+ <%= javascript_include_tag("caseadilla/html5shiv") %>
14
+ <![endif]-->
15
+
16
+ </head>
17
+
18
+ <body>
19
+ <div class="container-narrow">
20
+ <div class="jumbotron">
21
+ <div class="row brand">
22
+ <%= image_tag(caseadilla_config_logo, :alt => caseadilla_config_website_name) %>
23
+ </div>
24
+ <%= yield %>
25
+ </div>
26
+ <div class="row">
27
+ <div class="col-lg-12">
28
+ <hr />
29
+ <footer>
30
+ <p><%= caseadilla_get_footer_string(false) %></p>
31
+ </footer>
32
+ </div>
33
+ </div>
34
+ </div>
35
+ </body>
36
+ </html>
@@ -1,119 +1,111 @@
1
- <!DOCTYPE html>
2
- <html lang="en">
3
- <head>
4
- <meta charset="utf-8">
5
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
-
7
- <title><%= caseadilla_generate_page_title %></title>
8
- <% caseadilla_config_stylesheet_includes.each do |stylesheet| %>
9
- <%= stylesheet_link_tag(stylesheet) %>
10
- <% end %>
11
-
12
- <% caseadilla_config_javascript_includes.each do |javascript| %>
13
- <%= javascript_include_tag(javascript) %>
14
- <% end %>
15
-
16
- <%= csrf_meta_tag %>
17
-
18
- <!-- HTML5 shim, for IE6-8 support of HTML5 elements -->
19
- <!--[if lt IE 9]>
20
- <%= javascript_include_tag("caseadilla/html5shiv") %>
21
- <![endif]-->
22
-
23
- <script type="text/javascript">
24
- var current_controller = "<%= controller_name %>";
25
- </script>
26
-
27
- </head>
28
-
29
- <body>
30
- <div class="navbar navbar-static-top">
31
- <% if current_user != nil %>
32
- <div class="container">
33
- <div id="user-info">
34
- <ul>
35
- <li class="hidden-sm">Hello <%= link_to current_user.first_name, caseadilla_user_path(current_user) %></li>
36
- <li class="hidden-sm"><%= Time.zone.name %></li>
37
-
38
- <% if current_user #.is_admin? %>
39
- <li><%= link_to 'Users', caseadilla_users_path %></li>
40
- <% end %>
41
- <% if current_user #.is_admin? %>
42
- <li><%= link_to 'Roles', caseadilla_roles_path %></li>
43
- <% end %>
44
-
45
- <%= render :partial => '/caseadilla/layouts/top_navigation' %>
46
- <li class="last-item signout"><%= link_to 'Sign out', destroy_user_session_path, :method => :delete %></li>
47
- </ul>
48
- </div>
49
- </div>
50
- <% end %>
51
-
52
- <div class="container">
53
- <%= link_to(image_tag(caseadilla_config_logo, :alt => caseadilla_config_website_name), {:controller => :caseadilla}, :class => "navbar-brand") %>
54
- </div>
55
- <div class="container">
56
- <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".nav-collapse">
57
- <span class="icon-bar"></span>
58
- <span class="icon-bar"></span>
59
- <span class="icon-bar"></span>
60
- </button>
61
-
62
- <div class="nav-collapse collapse">
63
- <ul class="nav navbar-nav">
64
- <%= render :partial => '/caseadilla/layouts/tab_navigation' %>
65
- </ul>
66
- </div>
67
- </div>
68
- </div>
69
-
70
- <div class="container">
71
- <div id="content">
72
- <div class="row">
73
- <% if content_for?(:sidebar) %>
74
- <div id="right-column" class="col-lg-2">
75
- <ul class="nav nav-pills nav-stacked content-bottom-padding">
76
- <%= yield :sidebar %>
77
- </ul>
78
- </div>
79
- <div id="left-column" class="col-lg-10 content-bottom-padding">
80
- <% else %>
81
- <div class="col-lg-12 content-bottom-padding">
82
- <% end %>
83
-
84
- <% if flash[:warning] %>
85
- <div id="error" class="alert alert-danger alert-dismissible fade in" role="alert">
86
- <button type="button" class="close" data-dismiss="alert"><span aria-hidden="true">×</span><!-- <span class="sr-only">Close</span> --></button>
87
- <%= flash[:warning] %>
88
- </div>
89
- <% end %>
90
- <% if flash[:notice] %>
91
- <div id="notice" class="alert alert-success alert-dismissible fade in" role="alert">
92
- <button type="button" class="close" data-dismiss="alert"><span aria-hidden="true">×</span><!-- <span class="sr-only">Close</span> --></button>
93
- <%= flash[:notice] %>
94
- </div>
95
- <% end %>
96
- <% if content_for?(:help) %>
97
- <div id="help" class="alert alert-info alert-dismissible fade in" role="alert">
98
- <button type="button" class="close" data-dismiss="alert"><span aria-hidden="true">×</span><!-- <span class="sr-only">Close</span> --></button>
99
- <%= yield :help %>
100
- </div>
101
- <% end %>
102
-
103
- <%= yield %>
104
-
105
- </div>
106
-
107
- </div>
108
- <div class="row">
109
- <div class="col-lg-12">
110
- <hr />
111
- <footer>
112
- <p><%= caseadilla_get_footer_string(true) %></p>
113
- </footer>
114
- </div>
115
- </div>
116
- </div>
117
- </div>
118
- </body>
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="utf-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+
7
+ <title><%= caseadilla_generate_page_title %></title>
8
+ <% caseadilla_config_stylesheet_includes.each do |stylesheet| %>
9
+ <%= stylesheet_link_tag(stylesheet) %>
10
+ <% end %>
11
+
12
+ <% caseadilla_config_javascript_includes.each do |javascript| %>
13
+ <%= javascript_include_tag(javascript) %>
14
+ <% end %>
15
+
16
+ <%= csrf_meta_tag %>
17
+
18
+ <!-- HTML5 shim, for IE6-8 support of HTML5 elements -->
19
+ <!--[if lt IE 9]>
20
+ <%= javascript_include_tag("caseadilla/html5shiv") %>
21
+ <![endif]-->
22
+
23
+ <script type="text/javascript">
24
+ var current_controller = "<%= controller_name %>";
25
+ </script>
26
+
27
+ </head>
28
+
29
+ <body>
30
+ <div class="navbar navbar-static-top">
31
+ <% if current_user != nil %>
32
+ <div class="container">
33
+ <div id="user-info">
34
+ <ul>
35
+ <li class="hidden-sm">Hello <%= link_to current_user.first_name, caseadilla_user_path(current_user) %></li>
36
+ <li class="hidden-sm"><%= Time.zone.name %></li>
37
+
38
+ <% if current_user #.is_admin? %>
39
+ <li><%= link_to 'Users', caseadilla_users_path %></li>
40
+ <% end %>
41
+ <% if current_user #.is_admin? %>
42
+ <li><%= link_to 'Roles', caseadilla_roles_path %></li>
43
+ <% end %>
44
+
45
+ <%= render :partial => '/caseadilla/layouts/top_navigation' %>
46
+ <li class="last-item signout"><%= link_to 'Sign out', destroy_user_session_path, :method => :delete %></li>
47
+ </ul>
48
+ </div>
49
+ </div>
50
+ <% end %>
51
+
52
+ <div class="container">
53
+ <%= link_to(image_tag(caseadilla_config_logo, :alt => caseadilla_config_website_name), {:controller => :caseadilla}, :class => "navbar-brand") %>
54
+ </div>
55
+ <div class="container">
56
+ <ul class="nav navbar-nav">
57
+ <%= render :partial => '/caseadilla/layouts/tab_navigation' %>
58
+ </ul>
59
+ </div>
60
+ </div>
61
+
62
+ <div class="container">
63
+ <div id="content">
64
+ <div class="row">
65
+ <% if content_for?(:sidebar) %>
66
+ <div id="right-column" class="col-lg-2">
67
+ <ul class="nav nav-pills nav-stacked content-bottom-padding">
68
+ <%= yield :sidebar %>
69
+ </ul>
70
+ </div>
71
+ <div id="left-column" class="col-lg-10 content-bottom-padding">
72
+ <% else %>
73
+ <div class="col-lg-12 content-bottom-padding">
74
+ <% end %>
75
+
76
+ <% if flash[:warning] %>
77
+ <div id="error" class="alert alert-danger alert-dismissible fade in" role="alert">
78
+ <button type="button" class="close" data-dismiss="alert"><span aria-hidden="true">×</span><!-- <span class="sr-only">Close</span> --></button>
79
+ <%= flash[:warning] %>
80
+ </div>
81
+ <% end %>
82
+ <% if flash[:notice] %>
83
+ <div id="notice" class="alert alert-success alert-dismissible fade in" role="alert">
84
+ <button type="button" class="close" data-dismiss="alert"><span aria-hidden="true">×</span><!-- <span class="sr-only">Close</span> --></button>
85
+ <%= flash[:notice] %>
86
+ </div>
87
+ <% end %>
88
+ <% if content_for?(:help) %>
89
+ <div id="help" class="alert alert-info alert-dismissible fade in" role="alert">
90
+ <button type="button" class="close" data-dismiss="alert"><span aria-hidden="true">×</span><!-- <span class="sr-only">Close</span> --></button>
91
+ <%= yield :help %>
92
+ </div>
93
+ <% end %>
94
+
95
+ <%= yield %>
96
+
97
+ </div>
98
+
99
+ </div>
100
+ <div class="row">
101
+ <div class="col-lg-12">
102
+ <hr />
103
+ <footer>
104
+ <p><%= caseadilla_get_footer_string(true) %></p>
105
+ </footer>
106
+ </div>
107
+ </div>
108
+ </div>
109
+ </div>
110
+ </body>
119
111
  </html>