Sha256: b75ff749f2dee025af610a573240bf7a3c865da74dfe9a0907999a188d8d1b1a
Contents?: true
Size: 867 Bytes
Versions: 80
Compression:
Stored size: 867 Bytes
Contents
<%= content_tag(:div, id: object.id, data: object.data, class: object.classname) do %> <% if object.label.present? %> <%= pb_rails("caption", props: {text: object.label, dark: object.dark, classname: "pb_textarea_kit_label"}) %> <% end %> <% if object.children %> <%= capture(&object.children) %> <% if object.error %> <%= pb_rails("body", props: {dark: object.dark, status: "negative", text: object.error}) %> <% end %> <% else %> <%= text_area( :object, :method, :class => "#{object.classname}", :name => object.name, :placeholder => object.placeholder, :rows => object.rows, :value => object.value )%> <% if object.error %> <%= pb_rails("body", props: {dark: object.dark, status: "negative", text: object.error}) %> <% end %> <% end %> <% end %>
Version data entries
80 entries across 80 versions & 1 rubygems