Sha256: 8b654bcc74cfd1510ce23d8a715b7d102236fa01a69b6fa0602cccdc37d1a6af

Contents?: true

Size: 539 Bytes

Versions: 13

Compression:

Stored size: 539 Bytes

Contents

<%
if @attributes['element']
    error_condition = @attributes['error_condition'] ? @attributes['error_condition'] : "@inputs[#{@attributes['element']}].error?"
    required =  @attributes['required'] ? @attributes['required'] : "@inputs[#{@attributes['element']}].required?"
else
    error_condition = @attributes['error_condition']
    required = @attributes['required']
end
%>
<div class="row { (<%=error_condition%>) ? ' error' : '' }{ (<%=required%>) ? ' required' : '' }">
    <%=@content%>
    <div style="clear: both"></div>
</div>

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
spiderfw-0.6.1 apps/core/forms/tags/row.erb
spiderfw-0.6.0 apps/core/forms/tags/row.erb
spiderfw-0.5.19 apps/core/forms/tags/row.erb
spiderfw-0.5.18 apps/core/forms/tags/row.erb
spiderfw-0.5.17 apps/core/forms/tags/row.erb
spiderfw-0.5.16 apps/core/forms/tags/row.erb
spiderfw-0.5.15 apps/core/forms/tags/row.erb
spiderfw-0.5.14 apps/core/forms/tags/row.erb
spiderfw-0.5.13 apps/core/forms/tags/row.erb
spiderfw-0.5.12 apps/core/forms/tags/row.erb
spiderfw-0.5.11 apps/core/forms/tags/row.erb
spiderfw-0.5.10 apps/core/forms/tags/row.erb
spiderfw-0.5.9 apps/core/forms/tags/row.erb