<% row = cell(:elements, :row).new block = cell(:elements, :block).new(class: 'xs-12 sm-12 md-12') code = cell(:elements, :code).new %> <%=raw row.open %> <%=raw block.open %> <%=raw cell(:elements, :title).new(label: 'Fields: Text') %>

A normal text input.

<%=raw block.close %> <%=raw row.close %> <%=raw row.open %> <%=raw block.open %> <%=raw cell(:elements, :title).new(label: 'Configuration', size: 4) %>

The configuration option should be:

<%=raw code.open %> field_key: type: text position: 1 <%=raw code.close %>

You can set a custom label with a label option:

<%=raw code.open %> field_key: type: text position: 1 label: Insert here the text <%=raw code.close %>

You can set a custom classes for the input with the class option:

<%=raw code.open %> field_key: type: text position: 1 class: xs-12 sm-12 md-6 lg-6 <%=raw code.close %> <%=raw block.close %> <%=raw row.close %>