Sha256: c64e04581ece1a16234f389d7a7d1cf039c5cd152361cad2f9438ed7da369040
Contents?: true
Size: 455 Bytes
Versions: 1
Compression:
Stored size: 455 Bytes
Contents
<% custom = { :include_blank => true } options.merge!(custom) if @resource.typus_field_options_for(:read_only).include?(attribute.to_sym) html_options.merge!(:disabled => 'disabled') message = Typus::I18n.t("Read only") end %> <li id="<%= attribute_id %>"> <%= form.label attribute, "#{label_text} <small>#{message}</small>".html_safe %> <%= form.select attribute, @resource.send(attribute.pluralize), options, html_options %> </li>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
typus-3.1.0.rc18 | app/views/admin/templates/_selector.html.erb |