<%= myp_text_field(f, :amount, "myplaceonline.weights.amount", obj.amount, autofocus) %>
<%= myp_select(f, :amount_type, "myplaceonline.weights.amount_type", Myp.translate_options(Myp::WEIGHTS), obj.amount_type) %>
<%= myp_date_field(f, :measure_date, "myplaceonline.weights.measure_date", obj.measure_date) %>
<%= myp_text_field(f, :source, "myplaceonline.weights.source", obj.source) %>

<%= myp_text_field(f, :amount, "myplaceonline.weights.amount", obj.amount, autofocus) %>
<%= myp_select(f, :amount_type, "myplaceonline.weights.amount_type", Myp.translate_options(Myp::WEIGHTS), obj.amount_type) %>
<%= myp_date_field(f, :measure_date, "myplaceonline.weights.measure_date", obj.measure_date) %>
<%= myp_text_field(f, :source, "myplaceonline.weights.source", obj.source, remote_autocomplete_model: obj.class, remote_autocomplete_all: true) %>

Add auto-complete for weight measurement source
Add auto-complete for weight measurement source
