From 08385495986180ccd6855bee8d889af205922950 Mon Sep 17 00:00:00 2001 From: Anton Khorev Date: Tue, 4 Jun 2024 16:15:18 +0300 Subject: [PATCH] Write changeset comment button using tag.button --- app/views/changesets/show.html.erb | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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 %> -- 2.39.5