Sha256: 20cfa80bbb6be5584bee893be362c172f3db3d7f9c4f0e77d44add0c1f892fb1
Contents?: true
Size: 466 Bytes
Versions: 5
Compression:
Stored size: 466 Bytes
Contents
<% id ||= field.match(/id="([^"]*)"/)[1] if field.match(/id="([^"]*)"/) %> <% required ||= false %> <% required_class = required ? 'required' : 'optional' %> <div class="form-group string <%= required_class %> <%= id %>"> <label class="string <%= required_class %> control-label col-sm-3 control-label" for="<%= id %>"> <% if required %><abbr title="required">*</abbr><% end %> <%= label %> </label> <div class="col-sm-9"> <%= field %> </div> </div>
Version data entries
5 entries across 5 versions & 1 rubygems