Sha256: f0373d844402335c1b9a82a003fa4d1b9ebe7ec8c197ffe949686fb728132e55
Contents?: true
Size: 552 Bytes
Versions: 3
Compression:
Stored size: 552 Bytes
Contents
<% # Read only fields. if @resource.typus_field_options_for(:read_only).to_s.include?(attribute) custom = { :readonly => 'readonly' } label_text << " <small>#{_t("Read only")}</small>" end # Auto generated fields. if @resource.typus_field_options_for(:auto_generated).include?(attribute) custom = { :auto_generated => true } label_text << " <small>#{_t("Auto generated")}</small>" end options.merge!(custom) if custom %> <li> <%= form.label attribute, label_text %> <%= form.text_field attribute, options %> </li>
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
typus-1.0.0.pre8 | app/views/admin/templates/_string.html.erb |
typus-1.0.0.pre7 | app/views/admin/templates/_string.html.erb |
typus-1.0.0.pre6 | app/views/admin/templates/_string.html.erb |