Sha256: f80ec6db23b728fe9d609ea3479e859e6b3b70d9273e0e985558f9c978612d3d

Contents?: true

Size: 808 Bytes

Versions: 6

Compression:

Stored size: 808 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('admin.table.attribute') %>" class="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('admin.table.value') %>" class="form-control input-value" <%= "readonly" if @field.options[:readonly].present? %> <%= "disabled" if @field.options[:disabled].present? %>/>
    </div>
</div>

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
camaleon_cms-1.1.0 app/views/admin/settings/custom_fields/fields/field_attrs.html.erb
camaleon_cms-1.0.9 app/views/admin/settings/custom_fields/fields/field_attrs.html.erb
camaleon_cms-1.0.8 app/views/admin/settings/custom_fields/fields/field_attrs.html.erb
camaleon_cms-1.0.7 app/views/admin/settings/custom_fields/fields/field_attrs.html.erb
camaleon_cms-1.0.6 app/views/admin/settings/custom_fields/fields/field_attrs.html.erb
camaleon_cms-1.0.5 app/views/admin/settings/custom_fields/fields/field_attrs.html.erb