#ifndef USER_CONTENT_HPP #define USER_CONTENT_HPP #include "master_content.hpp" #include namespace content { struct login_form : public cppcms::form { apps::strusCms &cms; cppcms::widgets::text username; cppcms::widgets::password password; cppcms::widgets::text captcha; cppcms::widgets::submit submit; public: login_form( apps::strusCms &cms ); virtual bool validate( ); }; struct user : public master { login_form login; std::string captcha; public: user( apps::strusCms &cms ); }; } #endif