2022-03-15 09:43:53 +00:00
|
|
|
$(function() {
|
|
|
|
$('.ui.calendar').calendar({
|
2022-03-23 09:33:04 +00:00
|
|
|
type : 'date',
|
|
|
|
firstDayOfWeek : 1,
|
|
|
|
startMode : 'year'
|
2022-03-15 09:43:53 +00:00
|
|
|
});
|
|
|
|
|
|
|
|
$('.ui.form').form({
|
|
|
|
fields: {
|
2022-03-23 09:33:04 +00:00
|
|
|
'user-email' : 'email',
|
|
|
|
match : {
|
2022-03-15 12:07:05 +00:00
|
|
|
identifier : 'user-password-repeat',
|
|
|
|
depends : 'user-password',
|
|
|
|
rules : [
|
2022-03-15 09:43:53 +00:00
|
|
|
{
|
2022-03-23 09:52:34 +00:00
|
|
|
type : 'match[user-password]',
|
2022-03-22 15:15:56 +00:00
|
|
|
prompt : text.form_profile_password
|
2022-03-15 09:43:53 +00:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
}
|
|
|
|
});
|
2022-03-25 09:30:38 +00:00
|
|
|
|
|
|
|
$('.ui.dropdown').dropdown();
|
2022-03-15 09:43:53 +00:00
|
|
|
});
|