Sha256: 489ec422b7828bc0ad1ef51db85af4a8e16c115fa87fbaeeeebf23453213eb25
Contents?: true
Size: 444 Bytes
Versions: 5
Compression:
Stored size: 444 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, raw(label_text) %> <%= form.text_area attribute, options %> </li>
Version data entries
5 entries across 5 versions & 1 rubygems