Sha256: 3e64a32656887c30763c95123866ce29d1445544bad069f237cf4df0b50349f8

Contents?: true

Size: 552 Bytes

Versions: 2

Compression:

Stored size: 552 Bytes

Contents

<% if(typeof(label)!=="undefined" && (typeof(hideLabel) !== "undefined" && !hideLabel) || (typeof(hideLabel)==="undefined")) {%>
%label.control-label{:for=>"<%= input_id %>"}
  <%= label %>
<% } %>

.controls
  <% if( typeof(addOn) !== "undefined" ) { %>
  %span.add-on
    <%= addOn %>
  <% } %>

  %input{:style=>"<%= inputStyles %>",:id=>"<%= input_id %>",:type=>"text",:name=>"<%= input_name %>",:placeholder=>"<%= placeHolder %>", :class=>"<%= input_class %>"}

  <% if(helperText) { %>
  %p.helper-text.help-block
    <%= helperText %>
  <% } %>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
luca-0.9.42 src/templates/fields/text_field.luca
luca-0.9.4 src/templates/fields/text_field.luca