Sha256: 4f0e2974fba3a65690ac50d3d2699f316d4400ce376302ff97bb66e344b4237c
Contents?: true
Size: 452 Bytes
Versions: 4
Compression:
Stored size: 452 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_id %>"> <%= form.label attribute, label_text.html_safe %> <%= form.text_area attribute, options %> </li>
Version data entries
4 entries across 4 versions & 1 rubygems