Sha256: e28b2b79dec4535d1dec450dddf68c9bc1e3d862b490837e06f5e4a02db00270

Contents?: true

Size: 160 Bytes

Versions: 785

Compression:

Stored size: 160 Bytes

Contents

<%
text = block.value
text = "<p>#{empty_text}</p>" if editing && (text.nil? || text.strip.length == 0)
%>
<div id='block_<%= block.id %>'><%= raw text %></div>

Version data entries

785 entries across 785 versions & 1 rubygems

Version Path
caboose-cms-0.4.33 app/views/caboose/blocks/_richtext.html.erb
caboose-cms-0.4.32 app/views/caboose/blocks/_richtext.html.erb
caboose-cms-0.4.31 app/views/caboose/blocks/_richtext.html.erb
caboose-cms-0.4.30 app/views/caboose/blocks/_richtext.html.erb
caboose-cms-0.4.29 app/views/caboose/blocks/_richtext.html.erb