Skip to content

Commit

Permalink
Small refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
luciajanikova committed Dec 5, 2023
1 parent 47f814d commit 675ca83
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/components/message_template_component.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"class": "mb-3 pt-0 w-full"
}
) do %>
<%= form_for :message_draft, url: message_draft_path(@message.id), method: 'patch', id: message_draft_body_form_id, builder: MessageTemplateBuilder do |form| %>
<%= form_for :message_draft, url: message_draft_path(@message), method: 'patch', id: message_draft_body_form_id, builder: MessageTemplateBuilder do |form| %>
<% MessageTemplateParser.parse_template_placeholders(@message.template).each do |placeholder| %>
<%= form.template_field(
placeholder,
Expand Down

0 comments on commit 675ca83

Please sign in to comment.