Sha256: bf63dee23475b1605e7728fa7fa679b4ba098c826901819364e7b0e8bc5b41e1
Contents?: true
Size: 914 Bytes
Versions: 17
Compression:
Stored size: 914 Bytes
Contents
<%= f.input :caption, as: ingredient.settings[:caption_as_textarea] ? 'text' : 'string' %> <%= f.input :title %> <%= f.input :alt_tag %> <%- if ingredient.settings[:sizes].present? && ingredient.settings[:srcset].blank? -%> <%= f.input :render_size, collection: [ [Alchemy.t('Layout default'), ""] ] + ingredient.settings[:sizes].to_a, include_blank: false, input_html: {is: 'alchemy-select'} %> <%- end -%> <%- if ingredient.settings[:css_classes].present? -%> <%= f.input :css_class, collection: ingredient.settings[:css_classes], include_blank: Alchemy.t('None'), input_html: {is: 'alchemy-select'} %> <%- else -%> <%= f.input :css_class, label: Alchemy.t(:position_in_text), collection: [ [Alchemy.t(:above), "no_float"], [Alchemy.t(:left), "left"], [Alchemy.t(:right), "right"] ], include_blank: Alchemy.t("Layout default") %> <%- end -%>
Version data entries
17 entries across 17 versions & 1 rubygems