Added form names and select tag autocomplete off
To make select tags show selected option (FF bug) https://stackoverflow.com/questions/1479233/why-doesnt-firefox-show-the-correct-default-select-option
This commit is contained in:
@@ -2,8 +2,9 @@
|
||||
<h2><%= t ".heading_new_measurement" %></h2>
|
||||
|
||||
<%= labelled_form_for @measurement,
|
||||
url: project_measurements_path(@project),
|
||||
html: {id: 'measurement-form'} do |f| %>
|
||||
url: project_measurements_path(@project),
|
||||
html: {id: 'measurement-add-form', name: 'measurement-add-form'} do |f| %>
|
||||
|
||||
<%= error_messages_for @measurement %>
|
||||
|
||||
<div class="box tabular">
|
||||
|
||||
Reference in New Issue
Block a user