Sha256: 24c9cf3a5057176048d625b6d57e79f2ffbdd25b21a804969d081e042e86a63b
Contents?: true
Size: 718 Bytes
Versions: 2
Compression:
Stored size: 718 Bytes
Contents
<div class="tab box" id="tab_<%=tab.__id__%>"> <div class="tab-title boxtitle black" data-closed="false"> <h1><%= tab.title %></h1> <div class="arrow"></div> <%# FIXME more DRY solution is needed for .arrow within .boxtitle, maybe box helper %> </div> <% if resource.errors.any? %> <p class="errorExplanation" id="errorExplanation"> <%= raw resource.errors.keys.collect{|k| if error_tab = tab.fields.by_name(k) "#{error_tab.title.humanize.capitalize}: "+ "#{resource.errors[k].collect{|m| m.capitalize}.join(" and ")}" end }.compact.join("<br>") %> </p> <% end %> <%= render_component "lolita/configuration/tab", :form, :tab => tab %> </div>
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
lolita-3.1.16 | app/views/components/lolita/configuration/tab/_display.html.erb |
lolita-3.1.15 | app/views/components/lolita/configuration/tab/_display.html.erb |