Locked flight readings look locked

The tach and Hobbs fields of an earlier flight were disabled but looked
like any other field. Disabled fields now look it everywhere (grey,
muted text, a not-allowed cursor), and the flight form marks its locked
readings "Locked".

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
rickyandClaude Opus 5.5 committed 2026-11-15 17:58:47 -05:00
1 parent d8cd462194
commit 3e5d896662
4 files changed
+5 -3

No files matched your search

+1
View File
@@ -45,6 +45,7 @@ class FlightEditTest < ActionDispatch::IntegrationTest
get edit_aircraft_flight_log_path(@a, first)
assert_select "fieldset[disabled]", 2
assert_select "fieldset[disabled] legend .badge-gray", text: "Locked", count: 2
assert_select ".hint a[href=?]", aircraft_path(@a), text: "Update Hours"
patch aircraft_flight_log_path(@a, first), params: { flight_log: { tach_in: 1009, tach_time: 9, destination_location: "kbos" } }