emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/web-mode 902b085cf6 1/2: Added form_with for Ruby on Rails


From: ELPA Syncer
Subject: [nongnu] elpa/web-mode 902b085cf6 1/2: Added form_with for Ruby on Rails erb.html file
Date: Sat, 19 Mar 2022 02:58:41 -0400 (EDT)

branch: elpa/web-mode
commit 902b085cf65fcb1db139f6477273ca424274d8b3
Author: 4goodapp <4goodapp@gmail.com>
Commit: GitHub <noreply@github.com>

    Added form_with for Ruby on Rails erb.html file
    
    Added form_with for Ruby on Rails erb.html file which replace form_for and 
form_tag which are now soft-deprecated.
    Source: 
https://guides.rubyonrails.org/form_helpers.html#using-form-tag-and-form-for
---
 web-mode.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/web-mode.el b/web-mode.el
index a3de001d1c..1f69cefc98 100644
--- a/web-mode.el
+++ b/web-mode.el
@@ -1600,7 +1600,7 @@ shouldn't be moved back.)")
       "select_time" "select_year" "debug"
       "check_box" "fields_for" "file_field" "form_for" "hidden_field"
       "label" "password_field" "radio_button" "text_area" "text_field"
-      "check_box_tag" "field_set_tag" "file_field_tag" "form_tag"
+      "check_box_tag" "field_set_tag" "file_field_tag" "form_with" "form_tag"
       "hidden_field_tag" "image_submit_tag" "label_tag" "password_field_tag"
       "radio_button_tag" "select_tag" "submit_tag" "text_area_tag"
       "text_field_tag"



reply via email to

[Prev in Thread] Current Thread [Next in Thread]