#ifndef CONTENT_H
#define CONTENT_H
#include <cppcms/view.h>
#include <cppcms/form.h>
#include <iostream>
namespace content  {
 
    info_form()
    {
        add(name);
        add(sex);
        add(martial);
        add(age);
        add(submit);
        martial.
add(
"Single",
"s");
        martial.
add(
"Married",
"m");
        martial.
add(
"Divorced",
"d");
    }
    {
        if(!form::validate()) 
            return false;
            return false;
        }
        return true;
    }
};
    std::string name,who;
    double age;
    info_form info;
};
} 
#endif