forked from External/greenlight
create components for new layout
This commit is contained in:
7
app/views/shared/_title.html.erb
Normal file
7
app/views/shared/_title.html.erb
Normal file
@ -0,0 +1,7 @@
|
||||
<% title_class ||= '' %>
|
||||
<div class="title-wrapper text-center">
|
||||
<div class="title">
|
||||
<h2 class="<%= title_class if title_class %>"><%= title %></h2>
|
||||
<%= yield %>
|
||||
</div>
|
||||
</div>
|
Reference in New Issue
Block a user