Sha256: a7e22ac1788b1a4485b83d9f7dfce7b8cedc9ed9d0f08e5b2d673b9c17109aaa
Contents?: true
Size: 1.47 KB
Versions: 1
Compression:
Stored size: 1.47 KB
Contents
<%= pb_content_tag(:div, **combined_html_options) do %> <% if object.label.present? %> <%= pb_rails("caption", props: {text: object.label, dark: object.dark}) %> <% end %> <% if content.present? %> <%= content %> <% if object.error %> <%= pb_rails("body", props: { dark: object.dark, status: "negative", text: object.error }) %> <% end %> <% else %> <%= text_area( :object, :method, :class => "#{object.classname}", :max_characters => object.max_characters, :name => object.name, :onkeyup => object.onkeyup, :placeholder => object.placeholder, :rows => object.rows, :value => object.value) %> <% if object.error %> <% if object.character_count %> <%= pb_rails("flex", props: { spacing: "between", vertical: "center" }) do %> <%= pb_rails("flex/flex_item") do %> <%= pb_rails("body", props: { dark: object.dark, status: "negative", text: object.error }) %> <% end %> <%= pb_rails("flex/flex_item") do %> <%= pb_rails("caption", props: { margin: "none", size: "xs", text: object.character_counter }) %> <% end %> <% end %> <% else %> <%= pb_rails("body", props: { dark: object.dark, status: "negative", text: object.error }) %> <% end %> <% else %> <%= pb_rails("caption", props: { margin: "none", size: "xs", text: object.character_counter }) %> <% end %> <% end %> <% end %>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
playbook_ui-13.24.0.pre.alpha.play1305drycontenttag2689 | app/pb_kits/playbook/pb_textarea/textarea.html.erb |