feat: add country input to city form
- Added country input field to the city form for better user experience. - Removed unused region and weather-related fields to declutter the form. This change improves the data captured for cities and enhances the form's usability by focusing on relevant information.
This commit is contained in:
parent
9ce473dddb
commit
8364d42759
@ -41,13 +41,11 @@ ActiveAdmin.register City do
|
|||||||
f.inputs do
|
f.inputs do
|
||||||
f.input :active
|
f.input :active
|
||||||
f.input :name
|
f.input :name
|
||||||
|
f.input :country
|
||||||
f.input :latitude
|
f.input :latitude
|
||||||
f.input :longitude
|
f.input :longitude
|
||||||
f.input :priority
|
f.input :priority
|
||||||
f.input :timezone
|
f.input :timezone
|
||||||
f.input :region
|
|
||||||
f.input :last_weather_fetch
|
|
||||||
f.input :last_image_generation
|
|
||||||
end
|
end
|
||||||
f.actions
|
f.actions
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user