Sha256: 28ba3ebb6808a9e86d608eaf44d179c6ce4a98d1b33da0f8fbf8ca2243bdfdf2

Contents?: true

Size: 1.65 KB

Versions: 7

Compression:

Stored size: 1.65 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: Email') %>

    <p>A Email is a normal input email.</p>

  <%=raw block.close %>

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

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

<%=raw row.open %>

  <%=raw block.open %>

    <%=raw form.open %>

      <%=raw row.open %>

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

      <%=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, :email).new(name: 'sample', label: 'Insert your email') <%= erb_close_tag %>

<%=raw code.close %>

<%=raw block.close %>

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

<hr>

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

  <%=raw block.open %>

    <%=raw cell(:elements, :title).new(label: 'Other settings', size: 3) %>

    <p>
    The <b>Email input</b>, has some others configurations (<i>help</i>, <i>required</i>,
    <i>placeholder</i> and <i>class</i>) like the <b>Text input</b>. <br>
    Watch the <a href="<%= lato_core.doc_cells_inputs_text_path %>">Text input</a> documentation for more examples.
    </p>

  <%=raw block.close %>

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

Version data entries

7 entries across 7 versions & 1 rubygems

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