{
	"name": "",
	"layout": {
		"component": "nc-form",
		"element": [
			{
				"element": [
					{
						"attribute": {
							"width": "9/12"
						},
						"element": [
							{
								"element": [
									{
										"attribute": {
											"model": "hdr.login.register"
										},
										"component": "nc-page-header",
										"text": "Register"
									}
								],
								"component": "div"
							}
						],
						"component": "nc-col"
					}
				],
				"component": "nc-row"
			},
			{
				"element": [
					{
						"attribute": {
							"width": "9/12"
						},
						"element": [
							{
								"element": [
									{
										"attribute": {
											"class": ["panel", "panel-default"]
										},
										"element": [
											{
												"attribute": {
													"class": ["panel-body"]
												},
												"element": [
													{
														"attribute": {
															"class": ["form"],
															"role": "form"
														},
														"element": [
															{
																"element": [
																	{
																		"element": [
																			{
																				"attribute": {
																					"width": "1/1"
																				},
																				"element": [
																					{
																						"attribute": {
																							"model": "hdr.login.organization"
																						},
																						"component": "nc-label",
																						"text": "Organization"
																					}
																				],
																				"component": "nc-row"
																			}
																		],
																		"component": "nc-row"
																	},
																	{
																		"element": [
																			{
																				"attribute": {
																					"width": "1/1"
																				},
																				"element": [
																					{
																						"attribute": {
																							"model": "rec.organization_id"
																						},
																						"component": "nc-dropdown"
																					}
																				],
																				"component": "nc-row"
																			}
																		],
																		"component": "nc-row"
																	}
																],
																"component": "nc-row"
															},
															{
																"element": [
																	{
																		"element": [
																			{
																				"attribute": {
																					"width": "1/1"
																				},
																				"element": [
																					{
																						"attribute": {
																							"model": "hdr.login.user_id"
																						},
																						"component": "nc-label",
																						"text": "Account name"
																					}
																				],
																				"component": "nc-row"
																			}
																		],
																		"component": "nc-row"
																	},
																	{
																		"element": [
																			{
																				"attribute": {
																					"width": "1/1"
																				},
																				"element": [
																					{
																						"attribute": {
																							"model": "rec.user_id",
																							"placeholder": "{{hdr.login.user_id}}",
																							"type": "text"
																						},
																						"component": "nc-input"
																					}
																				],
																				"component": "nc-row"
																			}
																		],
																		"component": "nc-row"
																	}
																],
																"component": "nc-row"
															},
															{
																"element": [
																	{
																		"element": [
																			{
																				"attribute": {
																					"width": "1/1"
																				},
																				"element": [
																					{
																						"attribute": {
																							"model": "hdr.login.user_name"
																						},
																						"component": "nc-label",
																						"text": "User name"
																					}
																				],
																				"component": "nc-row"
																			}
																		],
																		"component": "nc-row"
																	},
																	{
																		"element": [
																			{
																				"attribute": {
																					"width": "1/1"
																				},
																				"element": [
																					{
																						"attribute": {
																							"model": "rec.user_name",
																							"placeholder": "Nimi",
																							"type": "text"
																						},
																						"component": "nc-input"
																					}
																				],
																				"component": "nc-row"
																			}
																		],
																		"component": "nc-row"
																	}
																],
																"component": "nc-row"
															},
															{
																"element": [
																	{
																		"element": [
																			{
																				"attribute": {
																					"width": "1/1"
																				},
																				"element": [
																					{
																						"attribute": {
																							"model": "hdr.login.email"
																						},
																						"component": "nc-label",
																						"text": "E-mail"
																					}
																				],
																				"component": "nc-row"
																			}
																		],
																		"component": "nc-row"
																	},
																	{
																		"element": [
																			{
																				"attribute": {
																					"width": "1/1"
																				},
																				"element": [
																					{
																						"attribute": {
																							"model": "rec.email",
																							"placeholder": "Sähköposti",
																							"type": "text"
																						},
																						"component": "nc-input"
																					}
																				],
																				"component": "nc-row"
																			}
																		],
																		"component": "nc-row"
																	}
																],
																"component": "nc-row"
															},
															{
																"element": [
																	{
																		"element": [
																			{
																				"attribute": {
																					"width": "1/1"
																				},
																				"element": [
																					{
																						"attribute": {
																							"model": "hdr.login.password"
																						},
																						"component": "nc-label",
																						"text": "Password"
																					}
																				],
																				"component": "nc-row"
																			}
																		],
																		"component": "nc-row"
																	},
																	{
																		"element": [
																			{
																				"attribute": {
																					"width": "1/1"
																				},
																				"element": [
																					{
																						"attribute": {
																							"model": "rec.password",
																							"placeholder": "Salasana",
																							"type": "password"
																						},
																						"component": "nc-input"
																					}
																				],
																				"component": "nc-row"
																			}
																		],
																		"component": "nc-row"
																	}
																],
																"component": "nc-row"
															},
															{
																"element": [
																	{
																		"element": [
																			{
																				"attribute": {
																					"width": "1/1"
																				},
																				"element": [
																					{
																						"attribute": {
																							"model": "hdr.login.re_type_password"
																						},
																						"component": "nc-label",
																						"text": "Re-type password"
																					}
																				],
																				"component": "nc-row"
																			}
																		],
																		"component": "nc-row"
																	},
																	{
																		"element": [
																			{
																				"attribute": {
																					"width": "1/1"
																				},
																				"element": [
																					{
																						"attribute": {
																							"model": "rec.password2",
																							"placeholder": "Salasana",
																							"type": "password"
																						},
																						"component": "nc-input"
																					}
																				],
																				"component": "nc-row"
																			}
																		],
																		"component": "nc-row"
																	}
																],
																"component": "nc-row"
															},
															{
																"element": [
																	{
																		"element": [
																			{
																				"attribute": {
																					"width": "5/12"
																				},
																				"element": [
																					{
																						"attribute": {
																							"href": "#"
																						},
																						"component": "nc-href",
																						"text": "Do you need help for logging in?"
																					}
																				],
																				"component": "nc-col"
																			},
																			{
																				"attribute": {
																					"width": "7/12"
																				},
																				"element": [
																					{
																						"element": [
																							{
																								"attribute": {
																									":class": "{disabled: rec.password !== rec.password2}",
																									"class": ["btn", "btn-default", "nc-button", "btn-block", ["nc-begin-button"]],
																									"name": "login_login",
																									"type": "submit",
																									"v-on:click": "nc.formCallServer(\"register\", rec)"
																								},
																								"element": [
																									{
																										"attribute": {
																											"model": "hdr.login.register"
																										},
																										"component": "nc-label",
																										"text": "Register"
																									}
																								],
																								"component": "nc-button"
																							}
																						],
																						"component": "div"
																					}
																				],
																				"component": "nc-col"
																			}
																		],
																		"component": "nc-row"
																	}
																],
																"component": "nc-row"
															},
															{
																"element": [
																	{
																		"element": [
																			{
																				"attribute": {
																					"width": "1/1"
																				},
																				"element": [
																					{
																						"attribute": {
																							"class": ["btn", "btn-default"],
																							"href": "login",
																							"role": "button"
																						},
																						"component": "nc-href",
																						"text": "Login"
																					}
																				],
																				"component": "nc-row"
																			}
																		],
																		"component": "nc-row"
																	}
																],
																"component": "nc-row"
															}
														],
														"component": "div"
													}
												],
												"component": "div"
											}
										],
										"component": "div"
									}
								],
								"component": "div"
							}
						],
						"component": "nc-col"
					}
				],
				"component": "nc-row"
			}
		]
	}
}
