Sha256: 13ec244d0d9aef71155a3b6f6fa1a2c34352eb77d31595a0b2ffacf99af9e5d1
Contents?: true
Size: 612 Bytes
Versions: 1
Compression:
Stored size: 612 Bytes
Contents
<% if field.match_state_of?(resource) %> <div class="field <%= field.type %>" id="field_<%=field.__id__%>"> <% unless field.type == "hidden" %> <%= render_component *field.build(:name=>"/lolita/configuration/field", :state => :"label") %> <% end %> <div class="field-value" id="field_<%=field.__id__%>_value"> <%= render_component *field.build %> </div> <% unless resource.errors[field.name.to_s.gsub(/_id$/,"").to_sym].empty? %> <p class="inline-errors"><%= raw resource.errors[field.name.to_s.gsub(/_id$/,"").to_sym].join("<br>") %></p> <% end %> </div> <% end %>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
lolita-3.2.0.rc.7 | app/views/components/lolita/configuration/field/_display.html.erb |