Sha256: 67b62548924df1ccd5a1ca544c6dcc8fc987e65d68c19d1569cd5c366959822a

Contents?: true

Size: 952 Bytes

Versions: 1

Compression:

Stored size: 952 Bytes

Contents

<div id="<%= comp.id %>" class="v-input v-text-field mdc-text-field mdc-text-field--textarea
            <%= ' is-invalid is-dirty' if comp.error%>"
     <% if comp.tag %>
     data-input-tag="<%= comp.tag %>"
     <% end %>
     style="<%= 'width:100%' if comp.full_width %>">
  <textarea id="<%= comp.id %>-input"
            name="<%= comp.name %>"
            class="mdc-text-field__input"
            rows="<%= comp.rows %>"
            cols="<%= comp.cols %>"> <%= comp.value %> </textarea>
  <label for="<%= comp.id %>-input" class="mdc-floating-label"><%= expand_text(comp.label) %></label>
</div>
<% if comp.error || comp.hint %>
<p id="<%= comp.id %>-input-helper-text" class="mdc-text-field-helper-text mdc-text-field-helper-text--persistent mdc-text-field-helper-text--validation-msg" aria-hidden="true">
  <%= comp.error || comp.hint %>
</p>
<% end %>
<%= erb :"components/tooltip", :locals => {comp: comp.tooltip, parent_id: comp.id} %>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
voom-presenters-0.2.0 views/mdc/components/text_area.erb