Proyectos de Subversion LeadersLinked - Backend

Rev

Rev 10114 | Rev 10254 | Ir a la última revisión | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 10114 Rev 10115
Línea 125... Línea 125...
125
              />
125
              />
126
              {errors.name && <p>Este campo es requerido</p>}
126
              {errors.name && <p>Este campo es requerido</p>}
127
            </div>
127
            </div>
128
            <div className="form-group">
128
            <div className="form-group">
129
              <label>Cargo a evaluar</label>
129
              <label>Cargo a evaluar</label>
130
              <select name="job_description_id" className="form-control" ref={register({ required: true })} onChange={(e) => setJobsDescriptions(e.target.value)}>
130
              <select name="job_description_id" className="form-control" ref={register({ required: true })}>
131
                {
131
                {
132
                  jobsDescriptions.map(({ label, value }) => (
132
                  jobsDescriptions.map(({ label, value }) => (
133
                    <option value={value}>{label}</option>
133
                    <option value={value}>{label}</option>
134
                  ))
134
                  ))
135
                }
135
                }
136
              </select>
136
              </select>
137
            </div>
137
            </div>
138
            <div className="form-group">
138
            <div className="form-group">
139
              <label>Categoría de Empleo</label>
139
              <label>Categoría de Empleo</label>
140
              <select name="job_category_id" className="form-control" ref={register({ required: true })} onChange={(e) => setJobsCategory(e.target.value)}>
140
              <select name="job_category_id" className="form-control" ref={register({ required: true })}>
141
                {
141
                {
142
                  jobsCategory.map(({ label, value }) => (
142
                  jobsCategory.map(({ label, value }) => (
143
                    <option value={value}>{label}</option>
143
                    <option value={value}>{label}</option>
144
                  ))
144
                  ))
145
                }
145
                }
Línea 155... Línea 155...
155
              />
155
              />
156
              {inputErrors.location && <p>{inputErrors.location}</p>}
156
              {inputErrors.location && <p>{inputErrors.location}</p>}
157
            </div>
157
            </div>
158
            <div className="form-group">
158
            <div className="form-group">
159
              <label>Industria</label>
159
              <label>Industria</label>
160
              <select name="industry_id" className="form-control" ref={register({ required: true })} onChange={(e) => setIndustry(e.target.value)}>
160
              <select name="industry_id" className="form-control" ref={register({ required: true })}>
161
                {
161
                {
162
                  industry.map(({ label, value }) => (
162
                  industry.map(({ label, value }) => (
163
                    <option value={value}>{label}</option>
163
                    <option value={value}>{label}</option>
164
                  ))
164
                  ))
165
                }
165
                }