{
	"name": "",
	"layout": {
		"component": "nc-root",
		"element": [
			{
				"element": [
					{
						"attribute": {
							"model": "hdr.login.login",
							"size": "medium"
						},
						"component": "nc-header",
						"text": "Log in"
					}
				],
				"component": "nc-row"
			},
			{
				"element": [
					{
						"attribute": {
							"class": ["panel", "panel-default"]
						},
						"element": [
							{
								"attribute": {
									"class": ["panel-body"]
								},
								"element": [
									{
										"element": [
											{
												"attribute": {
													"class": ["control-group"]
												},
												"element": [
													{
														"attribute": {
															"class": ["control-group"]
														},
														"element": [
															{
																"attribute": {
																	"width": "1/1"
																},
																"element": [
																	{
																		"attribute": {
																			"model": "hdr.login.organization"
																		},
																		"component": "nc-label",
																		"text": "Organization"
																	}
																],
																"component": "nc-row"
															}
														],
														"component": "div"
													},
													{
														"attribute": {
															"class": ["control-group"]
														},
														"element": [
															{
																"attribute": {
																	"width": "1/1"
																},
																"element": [
																	{
																		"attribute": {
																			"model": "rec.organization_id"
																		},
																		"component": "nc-dropdown"
																	}
																],
																"component": "nc-row"
															}
														],
														"component": "div"
													},
													{
														"attribute": {
															"class": ["control-group"]
														},
														"element": [
															{
																"attribute": {
																	"width": "1/1"
																},
																"element": [
																	{
																		"component": "br"
																	}
																],
																"component": "nc-row"
															}
														],
														"component": "div"
													}
												],
												"component": "div"
											},
											{
												"attribute": {
													"class": ["control-group"]
												},
												"element": [
													{
														"attribute": {
															"width": "1/1"
														},
														"element": [
															{
																"attribute": {
																	"model": "hdr.login.user_id"
																},
																"component": "nc-label",
																"text": "Account name"
															}
														],
														"component": "nc-row"
													},
													{
														"attribute": {
															"width": "1/1"
														},
														"element": [
															{
																"attribute": {
																	"model": "rec.user_id",
																	"placeholder": "Käyttäjätunnus",
																	"type": "text"
																},
																"component": "nc-input"
															}
														],
														"component": "nc-row"
													}
												],
												"component": "div"
											},
											{
												"attribute": {
													"class": ["control-group"]
												},
												"element": [
													{
														"attribute": {
															"width": "1/1"
														},
														"element": [
															{
																"attribute": {
																	"model": "hdr.login.password"
																},
																"component": "nc-label",
																"text": "Password"
															}
														],
														"component": "nc-row"
													},
													{
														"attribute": {
															"width": "1/1"
														},
														"element": [
															{
																"attribute": {
																	"model": "rec.password",
																	"placeholder": "Salasana",
																	"type": "password"
																},
																"component": "nc-input"
															}
														],
														"component": "nc-row"
													}
												],
												"component": "div"
											},
											{
												"attribute": {
													"class": ["control-group"]
												},
												"element": [
													{
														"attribute": {
															"class": ["control-group"]
														},
														"element": [
															{
																"attribute": {
																	"width": "1/1"
																},
																"element": [
																	{
																		"component": "br"
																	}
																],
																"component": "nc-row"
															}
														],
														"component": "div"
													},
													{
														"attribute": {
															"width": "6/12"
														},
														"element": [
															{
																"attribute": {
																	"href": "#"
																},
																"component": "nc-href",
																"text": "Do you need help for logging in?"
															}
														],
														"component": "nc-col"
													},
													{
														"attribute": {
															"width": "6/12"
														},
														"element": [
															{
																"element": [
																	{
																		"attribute": {
																			"class": ["nc-begin-button"],
																			"name": "login_login",
																			"type": "submit",
																			"v-on:click": "auth && auth.login(rec)"
																		},
																		"component": "nc-button",
																		"text": "Login"
																	}
																],
																"component": "div"
															}
														],
														"component": "nc-col"
													}
												],
												"component": "div"
											},
											{
												"attribute": {
													"class": ["control-group"]
												},
												"element": [
													{
														"attribute": {
															"width": "1/1"
														},
														"element": [
															{
																"attribute": {
																	"class": ["btn", "btn-default"],
																	"href": "register",
																	"role": "button",
																	"v-on:click": "auth && hideLogin()"
																},
																"component": "nc-href",
																"text": "Register"
															}
														],
														"component": "nc-row"
													}
												],
												"component": "div"
											}
										],
										"component": "nc-row"
									},
									{
										"element": [
											{
												"attribute": {
													"width": "1/1"
												},
												"element": [
													{
														"attribute": {
															"class": ["alert", "alert-danger"],
															"role": "alert",
															"v-show": "restError"
														},
														"component": "div",
														"text": "{{restError}}"
													},
													{
														"attribute": {
															"class": ["alert", "alert-warning"],
															"role": "alert",
															"v-show": "restWarning"
														},
														"component": "div",
														"text": "{{restWarning}}"
													},
													{
														"attribute": {
															"class": ["alert", "alert-info"],
															"role": "alert",
															"v-show": "restInfo"
														},
														"component": "div",
														"text": "{{restInfo}}"
													},
													{
														"attribute": {
															"class": ["alert", "alert-success"],
															"role": "alert",
															"v-show": "restSuccess"
														},
														"component": "div",
														"text": "{{restSuccess}}"
													}
												],
												"component": "nc-row"
											}
										],
										"component": "nc-row"
									}
								],
								"component": "div"
							}
						],
						"comment": ".panel-heading.panel-title\n",
						"component": "div"
					}
				],
				"component": "nc-row"
			}
		],
		"comment": "login_content.pug"
	}
}
