Sha256: f4b47cf2502c4b39d3d7a06c1250a048e1d473d7c9d2f3350648c93e8c438cf3
Contents?: true
Size: 624 Bytes
Versions: 20
Compression:
Stored size: 624 Bytes
Contents
<% if @attributes['element'] error_condition = @attributes['error_condition'] || "@inputs[#{@attributes['element']}].error?" required = @attributes['required'] || "@inputs[#{@attributes['element']}].required?" el_class = "{ #{@attributes['element']} }_element" el_class += " #{@attributes['class']}" if @attributes['class'] else error_condition = @attributes['error_condition'] required = @attributes['required'] el_class = @attributes['class'] || '' end %> <div class="row <%=el_class%> { (<%=error_condition%>) ? ' error' : '' }{ (<%=required%>) ? ' required' : '' }"> <%=@content%> </div>
Version data entries
20 entries across 20 versions & 1 rubygems