diff options
Diffstat (limited to 'src/user_content.hpp')
-rw-r--r-- | src/user_content.hpp | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/src/user_content.hpp b/src/user_content.hpp index cac0755..b52d2ea 100644 --- a/src/user_content.hpp +++ b/src/user_content.hpp @@ -1,11 +1,23 @@ #ifndef USER_CONTENT_HPP #define USER_CONTENT_HPP -#include "master.hpp" +#include "master_content.hpp" + +#include <cppcms/form.h> namespace content { +struct login_form : public cppcms::form { + cppcms::widgets::text username; + cppcms::widgets::password password; + cppcms::widgets::submit submit; + + public: + login_form( ); +}; + struct user : public master { + login_form login; }; } |