+
diff --git a/ng2-components/ng2-alfresco-login/README.md b/ng2-components/ng2-alfresco-login/README.md
index 8b92b7935e..5943ec791b 100644
--- a/ng2-components/ng2-alfresco-login/README.md
+++ b/ng2-components/ng2-alfresco-login/README.md
@@ -165,28 +165,45 @@ platformBrowserDynamic().bootstrapModule(AppModule);
| `providers` | *string* | ECM | Possible valid value are ECM, BPM or ALL. The default behaviour of this component will logged in only in the ECM . If you want log in in both system the correct value to use is ALL |
| `disableCsrf` | *boolean* | false | To prevent the CSRF Token from been submitted. Only for Activiti call |
-
+
+## Extra content
+
+You can put additional html content between `alfresco-login` tags to get it rendered as part of the login dialog.
+This becomes handy in case you need extending it with custom input fields handled by your application or parent component:
+
+```html
+
+
+
You extra content
+
+
+```
+
+Here's an example of custom content:
+
+
+
## Custom logo and background
It is possible changing logo and background images to custom values.
```html
-
+ [logoImageUrl]="'http://images.freeimages.com/images/previews/eac/honeybee-with-a-house-1633609.jpg'">
```
Should give you something like the following:
-
+
Alternatively you can bind to your component properties and provide values dynamically if needed:
```html
-
+ [logoImageUrl]="myCustomLogo">
```
@@ -196,9 +213,12 @@ If needed it is possible customize the validation rules of the login
form. You can add/modify the default rules of the login form.
**MyCustomLogin.component.html**
+
```html
-
+
+
```
**MyCustomLogin.component.ts**
@@ -233,14 +253,17 @@ This allows for example having custom form validation scenarios and/or additiona
Alternatively you may want just running additional code without suppressing default one.
**MyCustomLogin.component.html**
+
```html
-
+
+
```
**MyCustomLogin.component.ts**
-```ts
+```ts
export class MyCustomLogin {
validateForm(event: any) {
@@ -273,7 +296,7 @@ npm run build
### Build the files and keep watching for changes
```sh
-$ npm run build:w
+npm run build:w
```
## Running unit tests
diff --git a/ng2-components/ng2-alfresco-login/assets/login-extra-content.png b/ng2-components/ng2-alfresco-login/assets/login-extra-content.png
new file mode 100644
index 0000000000..09971bfd50
Binary files /dev/null and b/ng2-components/ng2-alfresco-login/assets/login-extra-content.png differ
diff --git a/ng2-components/ng2-alfresco-login/src/components/alfresco-login.component.html b/ng2-components/ng2-alfresco-login/src/components/alfresco-login.component.html
index 38b651c014..71a0aecdfc 100644
--- a/ng2-components/ng2-alfresco-login/src/components/alfresco-login.component.html
+++ b/ng2-components/ng2-alfresco-login/src/components/alfresco-login.component.html
@@ -45,6 +45,7 @@
{{formError.password | translate }}
+