diff --git a/app/views/vendors/_form.html.erb b/app/views/vendors/_form.html.erb index 48a1ae6..80a7330 100644 --- a/app/views/vendors/_form.html.erb +++ b/app/views/vendors/_form.html.erb @@ -37,8 +37,8 @@
- <%= form.label :tin, 'TIN' %> - <%= form.text_field :tin, maxlength: 9 %> + <%= form.label :tin, 'TIN' %> + <%= form.text_field :tin, id: 'tin-field', maxlength: 10, placeholder: 'XX-XXXXXXX' %>
@@ -91,4 +91,21 @@ resizeTextarea(textarea); }); }); + + +<%# This is to format the TIN correctly %> + \ No newline at end of file diff --git a/app/views/workers/_form.html.erb b/app/views/workers/_form.html.erb index b207be8..34fe2f1 100644 --- a/app/views/workers/_form.html.erb +++ b/app/views/workers/_form.html.erb @@ -111,4 +111,21 @@ }); -<%# This is for Social Security formatting and # of digits %> \ No newline at end of file +<%# This is for Social Security formatting and # of digits %> +