Sha256: dda2c4eb18d3964f23637e4b68dfe6e050acca073fd0b97ab9638c616a6455ef

Contents?: true

Size: 387 Bytes

Versions: 5

Compression:

Stored size: 387 Bytes

Contents

<br>
<%= image_tag(content_element.image_url(:thumb)) if content_element.image_url %>
<% if content_element.width.present? && content_element.height.present? %>
  <div class="ih-row quiet">
    minimum dimensions (w x h): <%= content_element.width %> x <%= content_element.height %>
  </div>
<% end %>
<div class="upload-group">
  <%= f.file_field :image, placeholder: 'Image' %>
</div>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
pulitzer-0.15.31 app/views/pulitzer/content_elements/_image_fields.html.erb
pulitzer-0.15.30 app/views/pulitzer/content_elements/_image_fields.html.erb
pulitzer-0.15.29 app/views/pulitzer/content_elements/_image_fields.html.erb
pulitzer-0.15.28 app/views/pulitzer/content_elements/_image_fields.html.erb
pulitzer-0.15.27 app/views/pulitzer/content_elements/_image_fields.html.erb