Sha256: f610d71a90513ab45a482b963bc2a703fb23c3fd1f313a1ee029dc198476bfaf

Contents?: true

Size: 426 Bytes

Versions: 760

Compression:

Stored size: 426 Bytes

Contents

<%
size = block.child_value('size')
text = block.child_value('text')
style = block.child_value('style')
size = 1 if size.nil?
text = (empty_text ? empty_text : "") if text.nil? || text == ""

if editing %><div id='block_<%= block.id %>'><h<%= size %> style='<%= style %>'><%= raw text %></h<%= size %>></div><% 
else       %><h<%= size %> id='block_<%= block.id %>' style='<%= style %>'><%= raw text %></h<%= size %>><% end %>

Version data entries

760 entries across 760 versions & 1 rubygems

Version Path
caboose-cms-0.9.229 app/views/caboose/blocks/_heading.html.erb
caboose-cms-1.0.2 app/views/caboose/blocks/_heading.html.erb
caboose-cms-1.0.1 app/views/caboose/blocks/_heading.html.erb
caboose-cms-0.9.228 app/views/caboose/blocks/_heading.html.erb
caboose-cms-0.9.227 app/views/caboose/blocks/_heading.html.erb
caboose-cms-0.9.226 app/views/caboose/blocks/_heading.html.erb
caboose-cms-0.9.225 app/views/caboose/blocks/_heading.html.erb
caboose-cms-0.9.224 app/views/caboose/blocks/_heading.html.erb
caboose-cms-0.9.223 app/views/caboose/blocks/_heading.html.erb
caboose-cms-0.9.222 app/views/caboose/blocks/_heading.html.erb
caboose-cms-0.9.221 app/views/caboose/blocks/_heading.html.erb
caboose-cms-0.9.220 app/views/caboose/blocks/_heading.html.erb
caboose-cms-0.9.219 app/views/caboose/blocks/_heading.html.erb
caboose-cms-0.9.218 app/views/caboose/blocks/_heading.html.erb
caboose-cms-0.9.217 app/views/caboose/blocks/_heading.html.erb
caboose-cms-0.9.216 app/views/caboose/blocks/_heading.html.erb
caboose-cms-0.9.215 app/views/caboose/blocks/_heading.html.erb
caboose-cms-0.9.214 app/views/caboose/blocks/_heading.html.erb
caboose-cms-0.9.213 app/views/caboose/blocks/_heading.html.erb
caboose-cms-0.9.212 app/views/caboose/blocks/_heading.html.erb