Skip to content

Commit d9cbb81

Browse files
committed
Create new widget for footer section
1 parent 9f7cc76 commit d9cbb81

File tree

4 files changed

+8
-0
lines changed

4 files changed

+8
-0
lines changed

app/models/footer_widget.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
class FooterWidget < Widget
2+
end
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
<%= scrivito_medium_dialog do %>
2+
<%= scrivito_details_for FooterWidget.description_for_editor do %>
3+
<% end %>
4+
<% end %>

app/views/footer_widget/show.html.erb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
This is the show view of the <%= FooterWidget.description_for_editor %>.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
<%= scrivito_thumbnail FooterWidget.description_for_editor %>

0 commit comments

Comments
 (0)