Sha256: 99367dbd06cba601d5ce398be192d002da01b44f91d16f9939176605d3a88d37
Contents?: true
Size: 946 Bytes
Versions: 1
Compression:
Stored size: 946 Bytes
Contents
<div class="group-input-fields-content row" data-callback-set-value="custom_field_field_attrs_val"> <div class="col-md-4"> <input type="text" name="<%= @field_name %>[<%= @field.slug %>][values][][attr]" placeholder="<%= t('camaleon_cms.admin.table.attribute') %>" class="<%= 'is_translate' if @field.get_option('translate') %> form-control input-attr <%= "required" if @field.options[:required].to_s.to_bool %>" <%= "readonly" if @field.options[:readonly].present? %> <%= "disabled" if @field.options[:disabled].present? %>/> </div> <div class="col-md-8"> <input type="text" name="<%= @field_name %>[<%= @field.slug %>][values][][value]" placeholder="<%= t('camaleon_cms.admin.table.value') %>" class="<%= 'is_translate' if @field.get_option('translate') %> form-control input-value" <%= "readonly" if @field.options[:readonly].present? %> <%= "disabled" if @field.options[:disabled].present? %>/> </div> </div>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
camaleon_cms-2.1.2.1 | app/views/camaleon_cms/admin/settings/custom_fields/fields/_field_attrs.html.erb |