1
0

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:
cryptogopher
2019-11-28 01:26:43 +01:00
parent 628578cda5
commit ffc8dbad8c
11 changed files with 46 additions and 32 deletions

View File

@@ -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">