member access login form block translated
This commit is contained in:
parent
585f4e8a9f
commit
4c0e683e07
|
@ -3,6 +3,7 @@ langcode: en
|
|||
status: true
|
||||
dependencies:
|
||||
module:
|
||||
- context
|
||||
- user
|
||||
theme:
|
||||
- materiotheme
|
||||
|
@ -14,7 +15,17 @@ provider: null
|
|||
plugin: user_login_block
|
||||
settings:
|
||||
id: user_login_block
|
||||
label: 'Accès membre'
|
||||
label: 'Member access'
|
||||
provider: user
|
||||
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(
|
||||
"v-model" => "mail",
|
||||
"title" => "",
|
||||
// "@keyup.enter" => "login"
|
||||
);
|
||||
|
||||
$form['pass']['#attributes'] = array(
|
||||
"v-model" => "password",
|
||||
"title" => "",
|
||||
// "@keyup.enter" => "login"
|
||||
);
|
||||
|
||||
|
|
Loading…
Reference in New Issue