[openstreetmap/openstreetmap-website] Remove duration and needs_view inputs from inactive block edit form (PR #5085)

Anton Khorev notifications at github.com
Fri Aug 16 10:05:24 UTC 2024


Since #5082 removed the ability to reactivate blocks, we can remove the inputs for doing that too. Inactive blocks will have only editable reason input.

![image](https://github.com/user-attachments/assets/72d8c91c-7364-45f8-8604-b35bd71d35f0)

You can view, comment on, or merge this pull request online at:

  https://github.com/openstreetmap/openstreetmap-website/pull/5085

-- Commit Summary --

  * Remove duration and needs_view inputs from inactive block edit form

-- File Changes --

    M app/views/user_blocks/edit.html.erb (27)
    M test/system/user_blocks_test.rb (30)

-- Patch Links --

https://github.com/openstreetmap/openstreetmap-website/pull/5085.patch
https://github.com/openstreetmap/openstreetmap-website/pull/5085.diff

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/5085
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/openstreetmap-website/pull/5085 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20240816/f480ea0e/attachment.htm>


More information about the rails-dev mailing list