%= hidden_field_tag :id, @content_id %>
<%= hidden_field_tag :metric_configuration_id, @metric_configuration_id %>
<%= hidden_field_tag :reading_group_id, @reading_group_id %>
<%= hidden_field_tag :compound, @compound %>
<%= f.hidden_field :id %>
<%= required labelled_form_field _('Label'),
f.select(:reading_id, @reading_labels_and_ids) %>
<%= f.label :beginning, "(*) Beginning:" %> | <%= required f.text_field :beginning, :id => "range_beginning" %> <%= link_to('-∞', 'javascript:void(0)', :onClick => "jQuery( '#range_beginning' ).val('-INF');") %> |
<%= f.label :end, "(*) End:" %> | <%= required f.text_field(:end, :id => "range_end") %> <%= link_to('+∞', 'javascript:void(0)', :onClick => "jQuery( '#range_end' ).val('+INF');") %> |
<%= f.label :comments, "(*) Comments:" %> | <%= required f.text_area :comments, :rows => 3 %> |