Skip to content

Commit 5852f4d

Browse files
committed
Merge pull request #12 from masolin/master
Fix email_field and number_field typo in form #11
2 parents 1e1afeb + ec81368 commit 5852f4d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

snippets/forms_and_inputs.cson

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,15 +37,15 @@
3737

3838
'email_field':
3939
'prefix': 'fes'
40-
'body': '<%= f.email_field :${1:field_1}{2:, class: "${3:form-control}"} %>'
40+
'body': '<%= f.email_field :${1:field_1}${2:, class: "${3:form-control}"} %>'
4141

4242
'hidden_field':
4343
'prefix': 'fhf'
4444
'body': '<%= f.hidden_field :${1:field_1}, value: "${2:true}" %>'
4545

4646
'number_field':
4747
'prefix': 'fnf'
48-
'body': '<%= f.number_field :${1:field_1}{2:, class: "${3:form-control}"} %>'
48+
'body': '<%= f.number_field :${1:field_1}${2:, class: "${3:form-control}"} %>'
4949

5050
'text_area':
5151
'prefix': 'fta'

0 commit comments

Comments
 (0)