Sha256: 57dadaa39c4175754ac70d375c70a9e8f7fbb935de959400c16892e14fc5e615
Contents?: true
Size: 409 Bytes
Versions: 5
Compression:
Stored size: 409 Bytes
Contents
<% 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 %>"> <%= form.label attribute, "#{label_text} <small>#{message}</small>".html_safe %> <%= form.select attribute, @resource.send(attribute), options.merge!(:include_blank => true), html_options %> </li>
Version data entries
5 entries across 5 versions & 1 rubygems