language select works in pub form

This commit is contained in:
Dobromir Popov
2024-05-11 16:49:32 +03:00
parent b23136db0c
commit ac5bb47726
2 changed files with 12 additions and 0 deletions

View File

@ -238,3 +238,6 @@ in schedule admin - if a publisher is always pair & family is not in the shift -
[] new page to show EventLog (substitutions)
[] fix "login as"
[] list with open shift replacements (coverMe requests)
[] fix statistics
[] add notification to statistics info
[] fix logins (apple/azure)

View File

@ -221,6 +221,15 @@ export default function PublisherForm({ item, me }) {
</div>
</div>
</div>
{/* language preference */}
<div className="mb-4">
<label className="label" htmlFor="locale">Език (в разработка)</label>
<select id="locale" name="locale" value={publisher.locale} onChange={handleChange} className="select textbox" placeholder="Език" autoFocus >
<option value="bg" >Български</option>
<option value="en">English</option>
<option value="ru">Руски</option>
</select>
</div>
<div className="mb-4">
<label className="label" htmlFor="town">Град</label>
<input type="text" id="town" name="town" value={publisher.town} onChange={handleChange} className="textbox" placeholder="Град" autoFocus />