Sha256: 69f72f1a682ca52eab815c0e1bb7c7649e191fce98caab88d5443c774760bdaf
Contents?: true
Size: 488 Bytes
Versions: 11
Compression:
Stored size: 488 Bytes
Contents
<%= form_for @trend do |f| %> <%= base_errors_for @trend %> <% types = trendable_types %> <%= selectable_f f, :trendable_type, types, { }, :place_holder => _('Please Select'), :onchange => 'tfm.trends.trendTypeSelected(this)' %> <%= select_f(f, :trendable_id, FactName.no_timestamp_fact, :id, :name, { :include_blank => true }, :disabled => types.first[1] != 'FactName') %> <%= text_f f, :name, :disabled => types.first[1] != 'FactName' %> <%= submit_or_cancel f %> <% end %>
Version data entries
11 entries across 11 versions & 1 rubygems