member access login form block translated
This commit is contained in:
parent
585f4e8a9f
commit
4c0e683e07
|
@ -3,6 +3,7 @@ langcode: en
|
||||||
status: true
|
status: true
|
||||||
dependencies:
|
dependencies:
|
||||||
module:
|
module:
|
||||||
|
- context
|
||||||
- user
|
- user
|
||||||
theme:
|
theme:
|
||||||
- materiotheme
|
- materiotheme
|
||||||
|
@ -14,7 +15,17 @@ provider: null
|
||||||
plugin: user_login_block
|
plugin: user_login_block
|
||||||
settings:
|
settings:
|
||||||
id: user_login_block
|
id: user_login_block
|
||||||
label: 'Accès membre'
|
label: 'Member access'
|
||||||
provider: user
|
provider: user
|
||||||
label_display: visible
|
label_display: visible
|
||||||
visibility: { }
|
visibility:
|
||||||
|
view_inclusion:
|
||||||
|
id: view_inclusion
|
||||||
|
negate: null
|
||||||
|
view_inclusion: { }
|
||||||
|
context_mapping: { }
|
||||||
|
request_path_exclusion:
|
||||||
|
id: request_path_exclusion
|
||||||
|
pages: ''
|
||||||
|
negate: null
|
||||||
|
context_mapping: { }
|
||||||
|
|
|
@ -18,11 +18,13 @@ function materio_user_form_user_login_form_alter(&$form, FormStateInterface $for
|
||||||
|
|
||||||
$form['name']['#attributes'] += array(
|
$form['name']['#attributes'] += array(
|
||||||
"v-model" => "mail",
|
"v-model" => "mail",
|
||||||
|
"title" => "",
|
||||||
// "@keyup.enter" => "login"
|
// "@keyup.enter" => "login"
|
||||||
);
|
);
|
||||||
|
|
||||||
$form['pass']['#attributes'] = array(
|
$form['pass']['#attributes'] = array(
|
||||||
"v-model" => "password",
|
"v-model" => "password",
|
||||||
|
"title" => "",
|
||||||
// "@keyup.enter" => "login"
|
// "@keyup.enter" => "login"
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue