Sha256: 98d20a5313f44e2a2e6ebef05f1e48fecf6d3822458e79438df5c4736faddf08
Contents?: true
Size: 1.41 KB
Versions: 2
Compression:
Stored size: 1.41 KB
Contents
<div id="<%= comp.id %>" class="mdc-text-field v-text-field <%= 'mdc-text-field--with-trailing-icon' if comp.icon %> <%= 'mdc-text-field--fullwidth' if comp.full_width %> <%= 'is-invalid is-dirty' if comp.error %>"> <%= erb :"components/icon", :locals => {comp: comp.icon, class_name: 'mdc-text-field__icon', parent_id: "#{comp.id}-input"} %> <input id="<%= comp.id %>-input" name="<%= comp.name %>" type="<%= comp.password ? 'password' : 'text' %>" value="<%= comp.value %>" class="mdc-text-field__input <%= 'mdc-text-field--trailing' if comp.icon %>" aria-controls="<%= comp.id %>-input-helper-text" <%= 'required' if comp.required %> <%= 'invalid' if comp.error %> <%= "pattern='#{comp.pattern}'" if comp.pattern %> <%= 'readonly' if comp.readonly %> list="<%= comp.id %>-list" <%= erb :"components/event", :locals => {events: comp.events, parent_id: "#{comp.id}-input"} %>> <label class='mdc-floating-label' for="<%= comp.id %>-input"><%= comp.label %></label> <div class="mdc-line-ripple"></div> <datalist id="<%= comp.id %>-list"> </datalist> </div> <p id="<%= comp.id %>-input-helper-text" class="mdc-text-field-helper-text" aria-hidden="true"> <%= comp.error || comp.hint %> </p> <%= erb :"components/tooltip", :locals => {comp: comp.tooltip, parent_id: comp.id} %>
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
voom-presenters-0.1.13 | views/mdc/components/text_field.erb |
voom-presenters-0.1.12 | views/mdc/components/text_field.erb |