coprl 3.0.0.beta.5 → 3.0.0.beta.6

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: ff1d61921712f73e4c13f6a206c4499e7bd72f40b82471cf03f741a272f118c1
4
- data.tar.gz: 6e6812e4334f47c542b3710cea1d74daa0d6f7b3e803bd0ac334e15cc6192461
3
+ metadata.gz: 7d5886d0ba61fa0e7a694b0463ef695007c3c64e3c601344b96e9d6cdcd74e14
4
+ data.tar.gz: c6acd24734fb08dfa86e416cefecf8936e816ee390fe2eb150be085c6e0b7552
5
5
  SHA512:
6
- metadata.gz: 384f80e03ad8cb9674d35d3fb5ceb293b6fed3c4b497076efeb3dfd8215394716b6c82db4fc8fc5ffe8d8145a6bc6f5f69adbcd6ecf67245f5f9e7b08c2cdb81
7
- data.tar.gz: 15ec4d677bc0ab317e5de06c3c0e499fa22b9fa047c78da589539365e6abc4c8dce33a889d97e6d9f620916ceaf05eb2dc1ec89ad29b9eab1828dfccde9dd15f
6
+ metadata.gz: e5b77286cfd3b3ee1df288e8a9394dbc16d3bae8ccb148dec73b90af4021c653b4266ca5f8cdc404268d7d6e118b5dd1f9a13fe34b1db4bad8e3aa2b7ba9159a
7
+ data.tar.gz: 0b8b5ce497af6367a3c48b1f82dae262441ef125e9908cd29c37d08e8f371cfe2e3c187b851fdc497cc7f7573d84a13d480569d0967d1e26a904157a1556516c
data/.circleci/config.yml CHANGED
@@ -18,28 +18,22 @@ jobs:
18
18
 
19
19
  steps:
20
20
  - checkout
21
-
22
- # Download and cache dependencies
23
21
  - restore_cache:
24
22
  keys:
25
- - v1-dependencies-{{ checksum "Gemfile.lock" }}
26
- # fallback to using the latest cache if no exact match is found
27
- - v1-dependencies-
28
-
29
- - run:
30
- name: install dependencies
31
- command: |
32
- bundle install --jobs=4 --retry=3 --path vendor/bundle
33
-
23
+ # when lock file changes, use increasingly general patterns to restore cache
24
+ - v1-gem-cache-{{ arch }}-{{ .Branch }}-{{ checksum "Gemfile.lock" }}
25
+ - v1-gem-cache-{{ arch }}-{{ .Branch }}-
26
+ - v1-gem-cache-{{ arch }}-
27
+ - run: bundle install
28
+ - run: bundle clean --force
34
29
  - save_cache:
35
30
  paths:
36
- - ./vendor/bundle
37
- key: v1-dependencies-{{ checksum "Gemfile.lock" }}
38
-
31
+ - ~/.bundle
32
+ key: v1-gem-cache-{{ arch }}-{{ .Branch }}-{{ checksum "Gemfile.lock" }}
39
33
  - run:
40
34
  name: 'start integration testing server'
41
35
  command: |
42
- rackup
36
+ bundle exec rackup
43
37
  background: true
44
38
 
45
39
  # run tests!
data/CHANGELOG.md CHANGED
@@ -1,3 +1,11 @@
1
+ # [3.0.0-beta.6](https://github.com/rx/presenters/compare/v3.0.0-beta.5...v3.0.0-beta.6) (2021-06-23)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * fixed typo on if check ([95b3091](https://github.com/rx/presenters/commit/95b3091365a853eee24e4bce0e37b182da1fdc3d))
7
+ * small tweaks to simplify the presenters wrappers ([#319](https://github.com/rx/presenters/issues/319)) ([cbf0c7c](https://github.com/rx/presenters/commit/cbf0c7c4c80d68ecc84a2989934d2d02e8a1a928))
8
+
1
9
  # [3.0.0-beta.5](https://github.com/rx/presenters/compare/v3.0.0-beta.4...v3.0.0-beta.5) (2021-06-18)
2
10
 
3
11
 
data/Gemfile CHANGED
@@ -13,7 +13,7 @@ end
13
13
  group :test do
14
14
  gem 'rspec'
15
15
  gem 'rspec-html-matchers'
16
- gem 'watir', '~> 6.16'
16
+ gem 'watir', '~> 6.19'
17
17
  gem 'webdrivers', '~> 4.1'
18
18
  gem 'watir-rspec', '~> 3.0'
19
19
  gem 'rspec_junit_formatter'
data/Gemfile.lock CHANGED
@@ -30,7 +30,7 @@ GIT
30
30
 
31
31
  GIT
32
32
  remote: https://github.com/coprl/foo_presenter_plugin.git
33
- revision: 7b05a88ac5d34a18401d8dbbb73758927be39cdd
33
+ revision: 6f1d796bf030bf69fca87777d28bdee63e9880d8
34
34
  specs:
35
35
  foo_presenter_plugin (0.0.2)
36
36
 
@@ -99,7 +99,7 @@ GEM
99
99
  childprocess (3.0.0)
100
100
  coderay (1.1.2)
101
101
  concurrent-ruby (1.1.9)
102
- diff-lcs (1.3)
102
+ diff-lcs (1.4.4)
103
103
  docile (1.3.1)
104
104
  dotenv (2.7.6)
105
105
  dry-configurable (0.12.1)
@@ -113,18 +113,17 @@ GEM
113
113
  dry-inflector (0.2.0)
114
114
  filewatcher (1.1.1)
115
115
  optimist (~> 3.0)
116
- gem-release (2.0.1)
117
116
  ice_nine (0.11.2)
118
117
  json (2.3.1)
119
118
  method_source (0.9.0)
120
- mini_portile2 (2.5.1)
119
+ mini_portile2 (2.5.3)
121
120
  mustermann (1.1.1)
122
121
  ruby2_keywords (~> 0.0.1)
123
122
  nio4r (2.5.7)
124
- nokogiri (1.11.4)
123
+ nokogiri (1.11.7)
125
124
  mini_portile2 (~> 2.5.0)
126
125
  racc (~> 1.4)
127
- nokogiri (1.11.4-x86_64-darwin)
126
+ nokogiri (1.11.7-x86_64-darwin)
128
127
  racc (~> 1.4)
129
128
  optimist (3.0.1)
130
129
  pry (0.11.3)
@@ -145,27 +144,27 @@ GEM
145
144
  rack (>= 1.0, < 3)
146
145
  rake (13.0.1)
147
146
  redcarpet (3.5.1)
148
- regexp_parser (1.6.0)
149
- rspec (3.8.0)
150
- rspec-core (~> 3.8.0)
151
- rspec-expectations (~> 3.8.0)
152
- rspec-mocks (~> 3.8.0)
153
- rspec-core (3.8.2)
154
- rspec-support (~> 3.8.0)
155
- rspec-expectations (3.8.4)
147
+ regexp_parser (2.1.1)
148
+ rspec (3.10.0)
149
+ rspec-core (~> 3.10.0)
150
+ rspec-expectations (~> 3.10.0)
151
+ rspec-mocks (~> 3.10.0)
152
+ rspec-core (3.10.1)
153
+ rspec-support (~> 3.10.0)
154
+ rspec-expectations (3.10.1)
156
155
  diff-lcs (>= 1.2.0, < 2.0)
157
- rspec-support (~> 3.8.0)
156
+ rspec-support (~> 3.10.0)
158
157
  rspec-html-matchers (0.9.1)
159
158
  nokogiri (~> 1)
160
159
  rspec (>= 3.0.0.a, < 4)
161
- rspec-mocks (3.8.1)
160
+ rspec-mocks (3.10.2)
162
161
  diff-lcs (>= 1.2.0, < 2.0)
163
- rspec-support (~> 3.8.0)
164
- rspec-support (3.8.2)
162
+ rspec-support (~> 3.10.0)
163
+ rspec-support (3.10.2)
165
164
  rspec_junit_formatter (0.4.1)
166
165
  rspec-core (>= 2, < 4, != 2.12.0)
167
166
  ruby2_keywords (0.0.4)
168
- rubyzip (1.3.0)
167
+ rubyzip (2.3.0)
169
168
  selenium-webdriver (3.142.7)
170
169
  childprocess (>= 0.5, < 4.0)
171
170
  rubyzip (>= 1.2.2)
@@ -183,19 +182,20 @@ GEM
183
182
  tilt (~> 2.0)
184
183
  thor (1.1.0)
185
184
  tilt (2.0.10)
185
+ timecop (0.9.4)
186
186
  tzinfo (2.0.4)
187
187
  concurrent-ruby (~> 1.0)
188
188
  tzinfo-data (1.2021.1)
189
189
  tzinfo (>= 1.0.0)
190
- watir (6.16.5)
191
- regexp_parser (~> 1.2)
192
- selenium-webdriver (~> 3.6)
190
+ watir (6.19.1)
191
+ regexp_parser (>= 1.2, < 3)
192
+ selenium-webdriver (>= 3.142.7)
193
193
  watir-rspec (3.0.0)
194
194
  rspec (~> 3.0)
195
195
  watir (>= 6.0.0.beta4)
196
- webdrivers (4.1.0)
196
+ webdrivers (4.6.0)
197
197
  nokogiri (~> 1.6)
198
- rubyzip (~> 1.0)
198
+ rubyzip (>= 1.3.0)
199
199
  selenium-webdriver (>= 3.0, < 4.0)
200
200
  zeitwerk (2.4.2)
201
201
 
@@ -213,7 +213,6 @@ DEPENDENCIES
213
213
  coprl!
214
214
  dotenv
215
215
  foo_presenter_plugin!
216
- gem-release (~> 2.0)
217
216
  google_maps_presenter_plugin!
218
217
  iframe_presenter_plugin!
219
218
  image_crop_presenter_plugin!
@@ -233,8 +232,9 @@ DEPENDENCIES
233
232
  shotgun (~> 0.9)
234
233
  simplecov
235
234
  thor (~> 1.1.0)
235
+ timecop (~> 0.9.4)
236
236
  timer_presenter_plugin!
237
- watir (~> 6.16)
237
+ watir (~> 6.19)
238
238
  watir-rspec (~> 3.0)
239
239
  webdrivers (~> 4.1)
240
240
 
data/README.md CHANGED
@@ -101,13 +101,13 @@ You need to add the following to your layout to use presenters as a partial alon
101
101
  ##### Inside the &lt;head&gt; tag add the following:
102
102
 
103
103
  <title><%= @pom.page.title if @pom.page %></title>
104
- <%= coprl_headers(@base_url, request, @pom) %>
104
+ <%= coprl_headers %>
105
105
 
106
106
  ##### Inside the &lt;body&gt; tag, around you existing yield add the following:
107
107
 
108
- <%= partial "body/preamble", :locals => {pom:@pom} %>
108
+ <%= with_presenters_wrapper do %>
109
109
  <%= yield %>
110
- <%= partial "body/postamble", :locals => {pom:@pom} %>
110
+ <%= end %>
111
111
 
112
112
  ### Rack
113
113
  #### 1) To use it, add this line to your Gemfile:
@@ -8,10 +8,10 @@ Coprl::Presenters.define(:snackbar) do
8
8
 
9
9
  indented_grid do
10
10
  title 'On Page'
11
- body 'You can attach a snackbar on the server side and will render after load.'
11
+ body 'You can invoke or attach a snackbar on the server side and will render after load.'
12
12
  snackbar 'Top Level Important Information!'
13
-
14
- attach :snackbar_attached
13
+ # This is the same as above -- see POM at end of file
14
+ # attach :snackbar_attached
15
15
 
16
16
  title 'As Event'
17
17
  button 'Show Snackbar', id: :show_snackbar do
@@ -33,3 +33,9 @@ Coprl::Presenters.define(:snackbar) do
33
33
 
34
34
  attach :code, file: __FILE__
35
35
  end
36
+
37
+ # Coprl::Presenters.define(:snackbar_attached) do
38
+ # title 'In Attached'
39
+ # body 'This can be done in an attached presenter as well'
40
+ # snackbar 'Attached Snackbar Displayed!'
41
+ # end
data/coprl.gemspec CHANGED
@@ -38,6 +38,6 @@ Gem::Specification.new do |spec|
38
38
  spec.add_development_dependency 'bundler', '>= 1.13'
39
39
  spec.add_development_dependency 'rake', '~> 13.0'
40
40
  spec.add_development_dependency 'rspec', '~> 3.0'
41
- spec.add_development_dependency 'gem-release', '~> 2.0'
42
41
  spec.add_development_dependency 'shotgun', '~> 0.9'
42
+ spec.add_development_dependency 'timecop', '~> 0.9.4 '
43
43
  end
@@ -1,7 +1,7 @@
1
1
  module Coprl
2
2
  module Presenters
3
3
  module Version
4
- VERSION = '3.0.0.beta.5'
4
+ VERSION = '3.0.0.beta.6'
5
5
  end
6
6
  end
7
7
  end
@@ -2,16 +2,18 @@ module Coprl::Presenters::WebClient::Helpers
2
2
  module Headers
3
3
  include Coprl::Presenters::WebClient::Helpers::HtmlSafe
4
4
 
5
- def coprl_headers(base_url, request, pom)
5
+ def coprl_headers
6
+ return unless @pom
7
+
6
8
  html_safe (<<~HEADERS)
7
9
  <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto:300,400,500,700" type="text/css">
8
10
  <link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons">
9
11
  <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.4.1/css/all.css" integrity="sha384-5sAR7xN1Nv6T6+dT2mhtzEpVJvfS3NScPQTrOxhwjIuvcA67KV2R5Jz6kr4abQsz" crossorigin="anonymous">
10
- <link rel="stylesheet" href="#{ base_url }/#{ request.env['SCRIPT_NAME'] }bundle.css">
11
- <script defer src="#{ base_url }/#{ request.env['SCRIPT_NAME'] }bundle.js"></script>
12
- #{plugin_headers(pom)}
13
- #{custom_css(request.env['REQUEST_PATH'], base_url)}
14
- #{pom.csrf_meta_tags}
12
+ <link rel="stylesheet" href="#{ @base_url }/#{ request.env['SCRIPT_NAME'] }bundle.css">
13
+ <script defer src="#{ @base_url }/#{ request.env['SCRIPT_NAME'] }bundle.js"></script>
14
+ #{plugin_headers(@pom)}
15
+ #{custom_css(request.env['REQUEST_PATH'], @base_url)}
16
+ #{@pom.csrf_meta_tags}
15
17
  HEADERS
16
18
  end
17
19
 
@@ -8,5 +8,6 @@ module Coprl::Presenters::WebClient::Helpers
8
8
  include Namespaced
9
9
  include Raw
10
10
  include EscapeHtml
11
+ include TemplateHelper
11
12
  end
12
13
  end
@@ -0,0 +1,10 @@
1
+ module Coprl::Presenters::WebClient::Helpers::Rails
2
+ module TemplateHelper
3
+ def with_presenters_wrapper(&block)
4
+ render partial: 'body/wrapper', locals: {
5
+ body_content: capture(&block), header: @pom&.header, drawer: @pom&.drawer,
6
+ footer: @pom&.footer
7
+ }
8
+ end
9
+ end
10
+ end
@@ -7,5 +7,6 @@ module Coprl::Presenters::WebClient::Helpers
7
7
  include SafeMarkdown
8
8
  include Raw
9
9
  include EscapeHtml
10
+ include TemplateHelper
10
11
  end
11
12
  end
@@ -0,0 +1,20 @@
1
+ module Coprl::Presenters::WebClient::Helpers::Sinatra
2
+ module TemplateHelper
3
+ def with_presenters_wrapper(&block)
4
+ buffer << partial("body/wrapper", locals: {
5
+ body_content: capture(buffer, &block), header: @pom&.header, drawer: @pom&.drawer,
6
+ footer: @pom&.footer
7
+ })
8
+ end
9
+
10
+ def buffer()
11
+ @_out_buf
12
+ end
13
+
14
+ def capture(buffer)
15
+ pos = buffer.size
16
+ yield
17
+ buffer.slice!(pos..buffer.size)
18
+ end
19
+ end
20
+ end
@@ -7,14 +7,14 @@
7
7
  <title><%= @pom.page.title if @pom.page %></title>
8
8
  <meta name="description" content="">
9
9
  <meta name="viewport" content="width=device-width, initial-scale=1">
10
- <%= coprl_headers(@base_url, request, @pom) %>
10
+ <%= coprl_headers %>
11
11
  <%= csrf_meta_tags %>
12
12
  <%= csp_meta_tag if defined?(csp_meta_tag) %>
13
13
  </head>
14
14
  <body>
15
- <%= partial "body/preamble", :locals => {pom:@pom} %>
16
- <%= yield %>
17
- <%= partial "body/postamble", :locals => {pom:@pom} %>
15
+ <%= with_presenters_wrapper do %>
16
+ <%= yield %>
17
+ <% end %>
18
18
  <noscript><p>JavaScript must be enabled to continue.</p></noscript>
19
19
  </body>
20
20
  </html>
@@ -1,15 +1,10 @@
1
1
  <%
2
- header = pom.header
3
- drawer = pom.drawer
4
- footer = pom.footer
5
-
6
2
  root_classes = []
7
3
  root_classes << 'v-root--header-present' if header
8
4
  root_classes << 'v-root--drawer-present' if drawer
9
5
  root_classes << 'v-root--footer-present' if footer
10
6
  %>
11
7
  <div class="v-root compatibility-wrapper mdc-typography <%= root_classes.join(' ') %>">
12
-
13
8
  <% if drawer %>
14
9
  <div class="drawer-frame-root">
15
10
  <%= partial "body/dismissable-drawer", :locals => {drawer: drawer} %>
@@ -22,5 +17,21 @@
22
17
  <div class="drawer-main-content">
23
18
  <%= partial "body/modal-drawer", :locals => {drawer: drawer} %>
24
19
  <% end %>
20
+
21
+ <%= body_content %>
22
+
25
23
  <div class="v-page-content page-content">
26
24
  <div class="v-errors">
25
+ </div>
26
+ </div>
27
+ <% if drawer %>
28
+ </div>
29
+ </div>
30
+ </div>
31
+ <% end %>
32
+
33
+ <%= partial "body/snackbar" %>
34
+ <% if footer %>
35
+ <%= partial "body/footer", :locals => {:footer => footer} %>
36
+ <% end %>
37
+ </div>
@@ -22,4 +22,4 @@
22
22
  <%= partial "components/icon", :locals => {comp: comp.icon, class_name: 'mdc-button__icon', position: [:right, :center]} if comp.icon %>
23
23
  </button>
24
24
  <%= partial "components/tooltip", :locals => {comp: comp.tooltip, parent_id: comp.id} if comp.tooltip %>
25
- <%= partial "components/menu", :locals => {comp: comp.menu, parent_id: comp.id} if comp.menus %>
25
+ <%= partial "components/menu", :locals => {comp: comp.menu, parent_id: comp.id} if comp.menu %>
data/views/mdc/layout.erb CHANGED
@@ -7,12 +7,12 @@
7
7
  <title><%= @pom.page.title if @pom.page %></title>
8
8
  <meta name="description" content="">
9
9
  <meta name="viewport" content="width=device-width, initial-scale=1">
10
- <%= coprl_headers(@base_url, request, @pom) %>
10
+ <%= coprl_headers %>
11
11
  </head>
12
12
  <body class="mdc-typography">
13
- <%= partial "body/preamble", :locals => {pom:@pom} %>
14
- <%= yield %>
15
- <%= partial "body/postamble", :locals => {pom:@pom} %>
13
+ <% with_presenters_wrapper do %>
14
+ <%= yield %>
15
+ <% end %>
16
16
  <noscript><p>JavaScript must be enabled to continue.</p></noscript>
17
17
  </body>
18
18
  </html>
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: coprl
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.0.beta.5
4
+ version: 3.0.0.beta.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Russell Edens
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-06-18 00:00:00.000000000 Z
11
+ date: 2021-06-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: ice_nine
@@ -267,33 +267,33 @@ dependencies:
267
267
  - !ruby/object:Gem::Version
268
268
  version: '3.0'
269
269
  - !ruby/object:Gem::Dependency
270
- name: gem-release
270
+ name: shotgun
271
271
  requirement: !ruby/object:Gem::Requirement
272
272
  requirements:
273
273
  - - "~>"
274
274
  - !ruby/object:Gem::Version
275
- version: '2.0'
275
+ version: '0.9'
276
276
  type: :development
277
277
  prerelease: false
278
278
  version_requirements: !ruby/object:Gem::Requirement
279
279
  requirements:
280
280
  - - "~>"
281
281
  - !ruby/object:Gem::Version
282
- version: '2.0'
282
+ version: '0.9'
283
283
  - !ruby/object:Gem::Dependency
284
- name: shotgun
284
+ name: timecop
285
285
  requirement: !ruby/object:Gem::Requirement
286
286
  requirements:
287
287
  - - "~>"
288
288
  - !ruby/object:Gem::Version
289
- version: '0.9'
289
+ version: 0.9.4
290
290
  type: :development
291
291
  prerelease: false
292
292
  version_requirements: !ruby/object:Gem::Requirement
293
293
  requirements:
294
294
  - - "~>"
295
295
  - !ruby/object:Gem::Version
296
- version: '0.9'
296
+ version: 0.9.4
297
297
  description:
298
298
  email:
299
299
  - 'rx@russelledens.net
@@ -359,7 +359,6 @@ files:
359
359
  - app/demo/components/selects.pom
360
360
  - app/demo/components/sliders.pom
361
361
  - app/demo/components/snackbar.pom
362
- - app/demo/components/snackbar_attached.pom
363
362
  - app/demo/components/steppers.pom
364
363
  - app/demo/components/tab_bars.pom
365
364
  - app/demo/components/tables.pom
@@ -635,6 +634,7 @@ files:
635
634
  - lib/coprl/presenters/web_client/helpers/rails/partials.rb
636
635
  - lib/coprl/presenters/web_client/helpers/rails/raw.rb
637
636
  - lib/coprl/presenters/web_client/helpers/rails/safe_markdown.rb
637
+ - lib/coprl/presenters/web_client/helpers/rails/template_helper.rb
638
638
  - lib/coprl/presenters/web_client/helpers/render_component.rb
639
639
  - lib/coprl/presenters/web_client/helpers/shared.rb
640
640
  - lib/coprl/presenters/web_client/helpers/sinatra.rb
@@ -643,6 +643,7 @@ files:
643
643
  - lib/coprl/presenters/web_client/helpers/sinatra/partials.rb
644
644
  - lib/coprl/presenters/web_client/helpers/sinatra/raw.rb
645
645
  - lib/coprl/presenters/web_client/helpers/sinatra/safe_markdown.rb
646
+ - lib/coprl/presenters/web_client/helpers/sinatra/template_helper.rb
646
647
  - lib/coprl/presenters/web_client/helpers/snake_to_camel.rb
647
648
  - lib/coprl/presenters/web_client/helpers/transform_hash.rb
648
649
  - lib/coprl/presenters/web_client/helpers/unique_id.rb
@@ -815,9 +816,8 @@ files:
815
816
  - views/mdc/body/_footer.erb
816
817
  - views/mdc/body/_header.erb
817
818
  - views/mdc/body/_modal-drawer.erb
818
- - views/mdc/body/_postamble.erb
819
- - views/mdc/body/_preamble.erb
820
819
  - views/mdc/body/_snackbar.erb
820
+ - views/mdc/body/_wrapper.erb
821
821
  - views/mdc/body/drawer/_divider.erb
822
822
  - views/mdc/body/drawer/_item.erb
823
823
  - views/mdc/body/drawer/_label.erb
@@ -1,6 +0,0 @@
1
-
2
- Coprl::Presenters.define(:snackbar_attached) do
3
- title 'In Attached'
4
- body 'This can be done in an attached presenter as well'
5
- snackbar 'Attached Snackbar Displayed!'
6
- end
@@ -1,17 +0,0 @@
1
- <%
2
- drawer = pom.drawer
3
- footer = pom.footer
4
- %>
5
- </div>
6
- </div>
7
- <% if drawer %>
8
- </div>
9
- </div>
10
- </div>
11
- <% end %>
12
-
13
- <%= partial "body/snackbar" %>
14
- <% if footer %>
15
- <%= partial "body/footer", :locals => {:footer => footer} %>
16
- <% end %>
17
- </div>