Sha256: 2997c85be980fa6b90f4970ba6ae5bee782eaaa167ec982a2aef326d93312084

Contents?: true

Size: 1.17 KB

Versions: 7

Compression:

Stored size: 1.17 KB

Contents

<%
  row = cell(:elements, :row).new
  block = cell(:elements, :block).new(class: 'xs-12 sm-12 md-12')
  code = cell(:elements, :code).new
  form = cell(:inputs, :form).new(url: '#', method: 'get')
%>

<!-- PRESENTATION -->
<%=raw row.open %>

  <%=raw block.open %>

    <%=raw cell(:elements, :title).new(label: 'Cells Inputs: Editor') %>

    <p>A Editor input is a simple WYSIWYG content editor.</p>

  <%=raw block.close %>

<%=raw row.close %>
<!-- / PRESENTATION -->

<hr>
<%=raw cell(:elements, :title).new(label: 'Normal Editor input', size: 3) %>

<%=raw row.open %>

  <%=raw block.open %>

    <%=raw form.open %>

      <%=raw row.open %>

        <%=raw cell(:inputs, :editor).new(name: 'sample', label: 'Insert your content') %>

      <%=raw row.close %>

    <%=raw form.close %>
    
  <%=raw block.close %>

<%=raw row.close %>

<!-- CODE SECTION -->
<%=raw row.open %>

<%=raw block.open %>

<%=raw cell(:elements, :title).new(label: 'Code', size: 6) %>

<%=raw code.open %>

<%= erb_open_tag %>=raw cell(:inputs, :editor).new(name: 'sample', label: 'Insert your content') <%= erb_close_tag %>

<%=raw code.close %>

<%=raw block.close %>

<%=raw row.close %>
<!-- / CODE SECTION -->

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
lato_core-2.2.2 app/views/lato_core/doc/cells_inputs/editor.html.erb
lato_core-2.2.0 app/views/lato_core/doc/cells_inputs/editor.html.erb
lato_core-2.1.4 app/views/lato_core/doc/cells_inputs/editor.html.erb
lato_core-2.1.3 app/views/lato_core/doc/cells_inputs/editor.html.erb
lato_core-2.1.2 app/views/lato_core/doc/cells_inputs/editor.html.erb
lato_core-2.1.1 app/views/lato_core/doc/cells_inputs/editor.html.erb
lato_core-2.1 app/views/lato_core/doc/cells_inputs/editor.html.erb