From: Anton Khorev Date: Tue, 4 Jun 2024 13:15:18 +0000 (+0300) Subject: Write changeset comment button using tag.button X-Git-Tag: live~451^2~3 X-Git-Url: https://git.openstreetmap.org./rails.git/commitdiff_plain/08385495986180ccd6855bee8d889af205922950?ds=inline;hp=-c Write changeset comment button using tag.button --- 08385495986180ccd6855bee8d889af205922950 diff --git a/app/views/changesets/show.html.erb b/app/views/changesets/show.html.erb index 5d2ca6ff6..5a54bd80e 100644 --- a/app/views/changesets/show.html.erb +++ b/app/views/changesets/show.html.erb @@ -66,7 +66,12 @@
- + <%= tag.button t("javascripts.changesets.show.comment"), + :class => "btn btn-primary", + :name => "comment", + :disabled => true, + :data => { :method => "POST", + :url => changeset_comment_url(@changeset) } %>
<% else %>