Sha256: 9c2a0a1e8b65cb26521df4af373ec13a5cf2bb267463a9b66026f4fcca636681

Contents?: true

Size: 1013 Bytes

Versions: 9

Compression:

Stored size: 1013 Bytes

Contents

<div class="group-input-fields-content input-group">
    <input
        onfocus="<%= '$(this).blur().next(\'.btn_upload\').click();' if field.options[:dimension].present? || field.options[:versions].present? || field.options[:thumb_size].present? %>"
        onchange="cama_custom_field_image_changed($(this))"
        data-dimension="<%= field.options[:dimension] %>"
        data-versions="<%= field.options[:versions] %>"
        data-thumb_size="<%= field.options[:thumb_size] %>"
        type="text"
        name="<%= field_name %>[<%= field.slug %>][values][]"
        class="data-error-place-parent form-control input-value <%= "required" if field.options[:required].to_s.to_bool %>" />
    <span class="input-group-addon btn_upload" onclick="load_upload_image_field($(this).prev());" style="cursor: pointer;">
      <i class="fa fa-upload"></i>
      <%= t('camaleon_cms.admin.button.upload_image')%> <%= "(#{field.get_option('dimension')})" if field.get_option('dimension').present? %>
    </span>
</div>

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
camaleon_cms-2.4.5.10 app/views/camaleon_cms/admin/settings/custom_fields/fields/_image.html.erb
camaleon_cms-2.4.5.9 app/views/camaleon_cms/admin/settings/custom_fields/fields/_image.html.erb
camaleon_cms-2.4.5.8 app/views/camaleon_cms/admin/settings/custom_fields/fields/_image.html.erb
camaleon_cms-2.4.5.7 app/views/camaleon_cms/admin/settings/custom_fields/fields/_image.html.erb
camaleon_cms-2.4.5.5 app/views/camaleon_cms/admin/settings/custom_fields/fields/_image.html.erb
camaleon_cms-2.4.5.4 app/views/camaleon_cms/admin/settings/custom_fields/fields/_image.html.erb
camaleon_cms-2.4.5.3 app/views/camaleon_cms/admin/settings/custom_fields/fields/_image.html.erb
camaleon_cms-2.4.5.2 app/views/camaleon_cms/admin/settings/custom_fields/fields/_image.html.erb
camaleon_cms-2.4.5.1 app/views/camaleon_cms/admin/settings/custom_fields/fields/_image.html.erb