Skip to content
Fetching contributors…
Cannot retrieve contributors at this time
10 lines (9 sloc) 516 Bytes
<%= javascript 'trends' %>
<%= form_for @trend do |f| %>
<%= base_errors_for @trend %>
<% new_record = @trend.new_record? %>
<%= selectable_f f, :trendable_type, trendable_types(new_record), { }, :place_holder => _('Please Select'), :onchange => 'trendTypeSelected(this)', :disabled => !new_record %>
<%= select_f(f, :trendable_id, FactName.no_timestamp_fact, :id, :name, { :include_blank => true }, :disabled => true, :label => 'Fact Name') %>
<%= text_f f, :name %>
<%= submit_or_cancel f %>
<% end %>
Something went wrong with that request. Please try again.