1
0
Fork 0
mirror of https://github.com/maybe-finance/maybe.git synced 2025-08-04 21:15:19 +02:00

Vehicle view (#1117)

This commit is contained in:
Zach Gollwitzer 2024-08-23 09:33:42 -04:00 committed by GitHub
parent e856691c86
commit 359bceb58e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
15 changed files with 259 additions and 8 deletions

View file

@ -19,6 +19,24 @@ en:
postal_code: Postal code (optional)
state: State
year_built: Year built (optional)
vehicle:
make: Make
make_placeholder: Toyota
mileage: Mileage
mileage_placeholder: '15000'
mileage_unit: Unit
model: Model
model_placeholder: Camry
overview:
current_price: Current Price
make_model: Make & Model
mileage: Mileage
purchase_price: Purchase Price
trend: Trend
unknown: Unknown
year: Year
year: Year
year_placeholder: '2023'
create:
success: New account created successfully
destroy:

View file

@ -0,0 +1,7 @@
---
en:
vehicles:
create:
success: Vehicle created successfully
update:
success: Vehicle updated successfully

View file

@ -90,6 +90,7 @@ Rails.application.routes.draw do
end
resources :properties, only: %i[ create update ]
resources :vehicles, only: %i[ create update ]
resources :transactions, only: %i[ index new create ] do
collection do