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