Sha256: d62dee709baf23660fe2072c2fb6efae722cececb2ef35da96b83916136c95ad

Contents?: true

Size: 425 Bytes

Versions: 17

Compression:

Stored size: 425 Bytes

Contents

<% block = local_assigns[:block] %>
<% if block %>
  <div>
    <% if block.props.image %>
      <%= image_tag block.props.image.data, block.props.image.editable %>
    <% end %>
    <% if block.props.string %>
      <div class="title"<%= block.props.string.editable %>><%== block.props.string %></div>
      <div class="content"<%= block.props.text.editable %>><%== block.props.text %></div>
    <% end %>
  </div>
<% end %>

Version data entries

17 entries across 17 versions & 2 rubygems

Version Path
contents_core-0.3.2 app/views/contents_core/_block_text_with_image.html.erb
contents_core-0.3.0 app/views/contents_core/_block_text_with_image.html.erb
contents_core-0.2.5 app/views/contents_core/_block_text_with_image.html.erb
contents_core-0.2.4 app/views/contents_core/_block_text_with_image.html.erb
contents_core-0.2.2 app/views/contents_core/_block_text_with_image.html.erb
contents_core-0.2.0 app/views/contents_core/_block_text_with_image.html.erb
contents_core-0.1.9 app/views/contents_core/_block_text_with_image.html.erb
contents_core-0.1.8 app/views/contents_core/_block_text_with_image.html.erb
contents_core-0.1.7 app/views/contents_core/_block_text_with_image.html.erb
contents_core-0.1.6 app/views/contents_core/_block_text_with_image.html.erb
contents_core-0.1.5 app/views/contents_core/_block_text_with_image.html.erb
contents_core-0.1.4 app/views/contents_core/_block_text_with_image.html.erb
editable_components-0.1.6 app/views/editable_components/_block_text_with_image.html.erb
editable_components-0.1.4 app/views/editable_components/_block_text_with_image.html.erb
editable_components-0.1.3 app/views/editable_components/_block_text_with_image.html.erb
editable_components-0.1.2 app/views/editable_components/_block_text_with_image.html.erb
editable_components-0.1.0 app/views/editable_components/_block_text_with_image.html.erb