app/views/pageflow/before_after/page.html.erb in pageflow-before-after-1.1.0 vs app/views/pageflow/before_after/page.html.erb in pageflow-before-after-1.2.0
- old
+ new
@@ -1,15 +1,15 @@
-<div class="blackLayer"></div>
+<div class="black_layer"></div>
<div class="content_and_background beforeAfterPage">
<div class="close_button text_hidden_only" tabindex="4" title="<%= t('pageflow.public.before_after.leave_view') %>">
<div class="label">
<%= t('pageflow.public.close') %>
</div>
</div>
- <div class="backgroundArea page_background page_background-for_page_with_player_controls">
- <div class="videoWrapper">
+ <div class="page_background page_background-for_page_with_player_controls">
+ <div class="uncropped_media_wrapper">
<div class="before_after_container">
<div class="before_after">
<div class="before_wrapper">
<%= background_image_div_with_size(configuration, 'before_image', :class => 'before_image', :spanning => true) %>
</div>
@@ -36,21 +36,11 @@
</div>
</div>
<div class="scroller">
<div>
- <div class="contentWrapper">
- <div class="page_header">
- <h2>
- <span class="tagline"><%= configuration['tagline'] %></span>
- <span class="title"><%= configuration['title'] %></span>
- <span class="subtitle"><%= configuration['subtitle'] %></span>
- </h2>
- <%= background_image_tag(configuration['background_image_id'], {:class => "print_image"}) %>
- </div>
- <div class="contentText">
- <p><%= raw configuration['text'] %></p>
- </div>
+ <div class="content_wrapper">
+ <%= page_default_content(page) %>
</div>
</div>
</div>
</div>
</div>