1
0
mirror of https://github.com/astaxie/beego.git synced 2024-11-23 04:30:54 +00:00
Commit Graph

22 Commits

Author SHA1 Message Date
astaxie
aa8f7bc146 fix ineffectual 2017-04-28 22:36:28 +08:00
astaxie
3e29078f68 add check ineffect and gofmt 2017-04-28 21:38:08 +08:00
Sergey Lanzman
37c1ffc57a add go simple support 2017-03-17 20:22:20 +02:00
Zaaksam
11ef5929aa update TestParseForm 2016-09-02 16:08:04 +08:00
Joshua Santos
e0393b721c Change meta to required, and refactor a bit to cover edge cases 2016-06-30 10:32:53 -07:00
Joshua Santos
8917fe44a9 Add test functions 2016-06-28 16:31:45 -07:00
Joshua Santos
21c7821692 Add test function 2016-06-28 16:24:32 -07:00
astaxie
bcb1db256d golint templatefunc 2015-09-08 23:41:41 +08:00
Sergey Shcherbina
0e3fe64c69 Added TestMapGet 2015-08-20 19:04:43 +05:00
Black.Lee
18659e16ba add compare_not/not_nil methods for template 2015-01-05 16:38:57 +08:00
astaxie
b9fdd67519 add test case fot date & stringbool 2014-11-04 16:39:17 +08:00
astaxie
710f5b6234 fix the test fun for pull request 873 2014-10-20 22:23:29 +08:00
astaxie
a144769515 update the documents & comments 2014-08-18 16:41:43 +08:00
astaxie
ea6982fcea beego: template fund when the start> len(bt) 2014-08-05 23:52:06 +08:00
astaxie
fefd8ddb5b beego: update licence& fix #669 2014-07-03 23:40:21 +08:00
Vangelis Tsoumenis
4994d36b66 templateform.RenderForm now renders textarea
When RenderForm encounters a field with the structTag `form` value
type `textarea` it renders an actual <textarea> html tag.
2014-06-29 20:49:56 +02:00
Vangelis Tsoumenis
3fe9e6a28a extract func parseFormTag from templatefunc.RenderForm
Extracted a func `parseFormTag` that takes a reflect.StructField
and returns the different positional parts of the `form` structTag
with default values as documented in
http://beego.me/docs/mvc/view/view.md#renderform

This makes RenderForm shorter and makes it possible to test the
parsing separately.
2014-06-29 20:49:08 +02:00
astaxie
0f170a80da update the comments fix #658 2014-06-25 10:39:37 +08:00
astaxie
a65ad1a4bc fix the time test case 2014-05-31 14:28:44 +08:00
Michael
61008fe75c udpated timezone in templatefunc_test. changed error message to be more descriptive when tests fail 2014-05-30 14:12:21 -05:00
astaxie
c188cbbcb4 update all files License 2014-05-17 02:26:50 +08:00
astaxie
19119e99f7 move utils to utils libs & func move to templatefunc 2013-12-12 22:25:08 +08:00