@@ -86,7 +86,7 @@ for (const key in categories) {
86
86
</div >
87
87
88
88
<div class =" mb-6" >
89
- <label for =" description" class =" block mb-2 text-sm font-medium text-gray-900 dark:text-white" >Descripción</label >
89
+ <label for =" description" class =" block mb-2 text-sm font-medium text-gray-900 dark:text-white" >Descripción * </label >
90
90
<textarea
91
91
id =" description"
92
92
rows =" 6"
@@ -116,15 +116,20 @@ for (const key in categories) {
116
116
<div class =" grid gap-6 mb-6 md:grid-cols-1" >
117
117
<TextInput id =" location" label =" Ubicación" maxlength =" 250" />
118
118
</div >
119
+ <div class =" grid gap-6 mb-6 md:grid-cols-2" >
120
+ <TextInput id =" organization" label =" Empresa" maxlength =" 250" type =" email" />
121
+ <TextInput id =" organizationWebsite" label =" Sitio web de la empresa" maxlength =" 300" type =" url" />
122
+ </div >
119
123
120
124
<div class =" flex justify-between" >
121
125
<h1 class =" text-xl font-bold" >Datos de Contacto</h1 >
122
126
</div >
123
127
<hr class =" my-4" />
124
- <div class =" grid gap-6 mb-6 md:grid-cols-3 " >
128
+ <div class =" grid gap-6 mb-6 md:grid-cols-2 " >
125
129
<TextInput id =" applyEmail" label =" Correo Electronico" maxlength =" 250" type =" email" />
126
130
<TextInput id =" applyUrl" label =" URL para aplicar" maxlength =" 250" type =" url" />
127
- <UsernameInput id =" applyTelegramUser" label =" Usuario de Telegram" maxlength =" 250" />
131
+ <UsernameInput id =" applyTelegramUser" label =" Nombre de usuario de Telegram" maxlength =" 250" />
132
+ <TextInput id =" applyPhone" label =" Número Telefónico" maxlength =" 250" type =" tel" />
128
133
</div >
129
134
</div >
130
135
@@ -200,6 +205,9 @@ for (const key in categories) {
200
205
applyEmail: getElem("applyEmail").value,
201
206
applyUrl: getElem("applyUrl").value,
202
207
applyTelegramUser: getElem("applyTelegramUser").value,
208
+ applyPhone: getElem("applyPhone").value,
209
+ organization: getElem("organization").value,
210
+ organizationWebsite: getElem("organizationWebsite").value,
203
211
slug: getElem("title").value.replace(/[^a-zA-Z0-9]+/g, "-"),
204
212
};
205
213
0 commit comments