Go to file
jordi fita mas 0a58e2699e Use a select for company’s country field
At first we thought that a regular text field would do, because we were
afraid that a dropdown would be worse from the point of view of user
experience, but then we realized that we need the country code for VAT
and phone validation, and we can not expect users to input that, of
course.

I had to add the first “i18n table” to the database with the name of all
countries in both Catalan and Spanish and Catalan; English is the
default.  For now i think i do not need a view that would select the
name based on the locale of the current request, because currently i do
not plan on adding any other such table —the currency uses the code and
the symbol, thus no need for localization.

However, now i need the language tag from the locale in order to get the
correct translation, and gotext does not give me any way to access the
inner language.  Thus the need for our Locale type.
2023-01-27 21:30:14 +01:00
cmd/numerus Implement login cookie, its verification, and logout 2023-01-17 20:58:13 +01:00
debian Add required PostgreSQL extensions as dependencies for Debian 2023-01-24 23:59:28 +01:00
demo Use a select for company’s country field 2023-01-27 21:30:14 +01:00
deploy Use a select for company’s country field 2023-01-27 21:30:14 +01:00
pkg Use a select for company’s country field 2023-01-27 21:30:14 +01:00
po Add the company relation and read-only form to edit 2023-01-24 21:46:07 +01:00
revert Use a select for company’s country field 2023-01-27 21:30:14 +01:00
test Use a select for company’s country field 2023-01-27 21:30:14 +01:00
verify Use a select for company’s country field 2023-01-27 21:30:14 +01:00
web Use a select for company’s country field 2023-01-27 21:30:14 +01:00
.gitignore Add Catalan and Spanish translation with gotext[3] 2023-01-18 20:26:30 +01:00
COPYING Rename LICENSE to COPYING 2023-01-15 04:08:35 +01:00
Makefile Use “layouts” for the common HTML between pages 2023-01-22 21:41:50 +01:00
go.mod Add Catalan and Spanish translation with gotext[3] 2023-01-18 20:26:30 +01:00
go.sum Add Catalan and Spanish translation with gotext[3] 2023-01-18 20:26:30 +01:00
sqitch.conf Setup authentication schema and user relation 2023-01-13 20:30:21 +01:00
sqitch.plan Use a select for company’s country field 2023-01-27 21:30:14 +01:00