diff --git a/web/handler/common.go b/web/handler/common.go
index 1e2a04a..42e7803 100644
--- a/web/handler/common.go
+++ b/web/handler/common.go
@@ -70,7 +70,7 @@ var TplCommonMap = map[string]string{
What's your current word count?
-
+
diff --git a/web/handler/form/status.go b/web/handler/form/status.go
index 627f7dd..45524f6 100644
--- a/web/handler/form/status.go
+++ b/web/handler/form/status.go
@@ -10,14 +10,16 @@ type StatusForm struct {
Content string
Face string
Error string
-}
+ Number int }
func NewStatusForm(r *http.Request) *StatusForm {
var id int64
id, _ = strconv.ParseInt(r.FormValue("id"), 10, 64)
+ number, _ := strconv.Atoi(r.FormValue("number"))
return &StatusForm{
Id: id,
Content: r.FormValue("content"),
Face: r.FormValue("face"),
+ Number: number,
}
}
diff --git a/web/handler/html/common/status_form.html b/web/handler/html/common/status_form.html
index f139685..2d43de0 100644
--- a/web/handler/html/common/status_form.html
+++ b/web/handler/html/common/status_form.html
@@ -18,7 +18,7 @@