{
	"component": "nc-form",
	"children": [
		{
			"children": [
				{
					"attribute": {
						"width": "9/12"
					},
					"children": [
						{
							"children": [
								{
									"attribute": {
										"model": "hdr.register.register"
									},
									"component": "nc-page-header",
									"content": "Register"
								}
							],
							"component": "div"
						}
					],
					"component": "nc-col"
				}
			],
			"component": "nc-row"
		},
		{
			"children": [
				{
					"attribute": {
						"width": "9/12"
					},
					"children": [
						{
							"children": [
								{
									"attribute": {
										"class": ["panel", "panel-default"]
									},
									"children": [
										{
											"attribute": {
												"class": ["panel-body"]
											},
											"children": [
												{
													"attribute": {
														"class": ["form"],
														"role": "form"
													},
													"children": [
														{
															"children": [
																{
																	"children": [
																		{
																			"attribute": {
																				"width": "1/1"
																			},
																			"children": [
																				{
																					"attribute": {
																						"model": "hdr.register.organization"
																					},
																					"component": "nc-label",
																					"content": "Organization"
																				}
																			],
																			"component": "nc-row"
																		}
																	],
																	"component": "nc-row"
																},
																{
																	"children": [
																		{
																			"attribute": {
																				"width": "1/1"
																			},
																			"children": [
																				{
																					"attribute": {
																						"model": "rec.organization_id"
																					},
																					"component": "nc-dropdown"
																				}
																			],
																			"component": "nc-row"
																		}
																	],
																	"component": "nc-row"
																}
															],
															"component": "nc-row"
														},
														{
															"children": [
																{
																	"children": [
																		{
																			"attribute": {
																				"width": "1/1"
																			},
																			"children": [
																				{
																					"attribute": {
																						"model": "hdr.register.user_id"
																					},
																					"component": "nc-label",
																					"content": "Account name"
																				}
																			],
																			"component": "nc-row"
																		}
																	],
																	"component": "nc-row"
																},
																{
																	"children": [
																		{
																			"attribute": {
																				"width": "1/1"
																			},
																			"children": [
																				{
																					"attribute": {
																						"model": "rec.user_id",
																						"placeholder": "{{hdr.register.user_id}}",
																						"type": "text"
																					},
																					"component": "nc-input"
																				}
																			],
																			"component": "nc-row"
																		}
																	],
																	"component": "nc-row"
																}
															],
															"component": "nc-row"
														},
														{
															"children": [
																{
																	"children": [
																		{
																			"attribute": {
																				"width": "1/1"
																			},
																			"children": [
																				{
																					"attribute": {
																						"model": "hdr.register.user_name"
																					},
																					"component": "nc-label",
																					"content": "User name"
																				}
																			],
																			"component": "nc-row"
																		}
																	],
																	"component": "nc-row"
																},
																{
																	"children": [
																		{
																			"attribute": {
																				"width": "1/1"
																			},
																			"children": [
																				{
																					"attribute": {
																						"model": "rec.user_name",
																						"placeholder": "Nimi",
																						"type": "text"
																					},
																					"component": "nc-input"
																				}
																			],
																			"component": "nc-row"
																		}
																	],
																	"component": "nc-row"
																}
															],
															"component": "nc-row"
														},
														{
															"children": [
																{
																	"children": [
																		{
																			"attribute": {
																				"width": "1/1"
																			},
																			"children": [
																				{
																					"attribute": {
																						"model": "hdr.register.email"
																					},
																					"component": "nc-label",
																					"content": "E-mail"
																				}
																			],
																			"component": "nc-row"
																		}
																	],
																	"component": "nc-row"
																},
																{
																	"children": [
																		{
																			"attribute": {
																				"width": "1/1"
																			},
																			"children": [
																				{
																					"attribute": {
																						"model": "rec.email",
																						"placeholder": "Sähköposti",
																						"type": "text"
																					},
																					"component": "nc-input"
																				}
																			],
																			"component": "nc-row"
																		}
																	],
																	"component": "nc-row"
																}
															],
															"component": "nc-row"
														},
														{
															"children": [
																{
																	"children": [
																		{
																			"attribute": {
																				"width": "1/1"
																			},
																			"children": [
																				{
																					"attribute": {
																						"model": "hdr.register.password"
																					},
																					"component": "nc-label",
																					"content": "Password"
																				}
																			],
																			"component": "nc-row"
																		}
																	],
																	"component": "nc-row"
																},
																{
																	"children": [
																		{
																			"attribute": {
																				"width": "1/1"
																			},
																			"children": [
																				{
																					"attribute": {
																						"model": "rec.password",
																						"placeholder": "Salasana",
																						"type": "password"
																					},
																					"component": "nc-input"
																				}
																			],
																			"component": "nc-row"
																		}
																	],
																	"component": "nc-row"
																}
															],
															"component": "nc-row"
														},
														{
															"children": [
																{
																	"children": [
																		{
																			"attribute": {
																				"width": "1/1"
																			},
																			"children": [
																				{
																					"attribute": {
																						"model": "hdr.register.re_type_password"
																					},
																					"component": "nc-label",
																					"content": "Re-type password"
																				}
																			],
																			"component": "nc-row"
																		}
																	],
																	"component": "nc-row"
																},
																{
																	"children": [
																		{
																			"attribute": {
																				"width": "1/1"
																			},
																			"children": [
																				{
																					"attribute": {
																						"model": "rec.password2",
																						"placeholder": "Salasana",
																						"type": "password"
																					},
																					"component": "nc-input"
																				}
																			],
																			"component": "nc-row"
																		}
																	],
																	"component": "nc-row"
																}
															],
															"component": "nc-row"
														},
														{
															"children": [
																{
																	"children": [
																		{
																			"attribute": {
																				"width": "5/12"
																			},
																			"children": [
																				{
																					"attribute": {
																						"href": "#"
																					},
																					"component": "a",
																					"content": "Do you need help for logging in?"
																				}
																			],
																			"component": "nc-col"
																		},
																		{
																			"attribute": {
																				"width": "7/12"
																			},
																			"children": [
																				{
																					"children": [
																						{
																							"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.native": "nc.formCallServer(\"register\", rec)"
																							},
																							"children": [
																								{
																									"attribute": {
																										"model": "hdr.register.register"
																									},
																									"component": "nc-label",
																									"content": "Register"
																								}
																							],
																							"component": "nc-button"
																						}
																					],
																					"component": "div"
																				}
																			],
																			"component": "nc-col"
																		}
																	],
																	"component": "nc-row"
																}
															],
															"component": "nc-row"
														},
														{
															"children": [
																{
																	"children": [
																		{
																			"attribute": {
																				"width": "1/1"
																			},
																			"children": [
																				{
																					"attribute": {
																						"class": ["btn", "btn-default"],
																						"href": "login",
																						"role": "button"
																					},
																					"component": "a",
																					"content": "Login"
																				}
																			],
																			"component": "nc-row"
																		}
																	],
																	"component": "nc-row"
																}
															],
															"component": "nc-row"
														}
													],
													"component": "div"
												}
											],
											"component": "div"
										}
									],
									"component": "div"
								}
							],
							"component": "div"
						}
					],
					"component": "nc-col"
				}
			],
			"component": "nc-row"
		}
	]
}
