Sha256: c48ac24883ac2a82f5eb6a72a3b7870223f95ce9ae78ece51148dc6b6ecc0652
Contents?: true
Size: 449 Bytes
Versions: 23
Compression:
Stored size: 449 Bytes
Contents
<% custom = {:rows => @resource.typus_options_for(:form_rows)} # Read only fields. if @resource.typus_field_options_for(:read_only).include?(attribute.to_sym) custom.merge!(:readonly => 'readonly') label_text << " <small>#{Typus::I18n.t("Read only")}</small>" end options = options.merge!(custom) %> <li id="<%= attribute %>"> <%= form.label attribute, label_text.html_safe %> <%= form.text_area attribute, options %> </li>
Version data entries
23 entries across 23 versions & 1 rubygems
Version | Path |
---|---|
typus-3.1.0.rc1 | app/views/admin/templates/_text.html.erb |
typus-3.0.10 | app/views/admin/templates/_text.html.erb |
typus-3.0.9 | app/views/admin/templates/_text.html.erb |