Commit Graph

104 Commits

Author SHA1 Message Date
Kanezoh
5631971347 raise error when submit with invalid button 2021-06-29 20:21:44 +09:00
Kanezoh
0c4e5fefcf submit form with button 2021-06-29 19:14:30 +09:00
Kanezoh
dc9f937ccc add clicked buttons 2021-06-29 17:46:52 +09:00
Kanezoh
b4c5e33037 add checkbox_with method 2021-06-28 16:51:04 +09:00
Kanezoh
8fa89fab2d *_with method deals :text key 2021-06-28 16:36:24 +09:00
Kanezoh
3fc6227712 add form_with test 2021-06-27 20:17:23 +09:00
Kanezoh
301a58568e add form(s)_with method 2021-06-27 20:13:43 +09:00
Kanezoh
33e94c110e make module for *_with macro 2021-06-25 09:15:43 +09:00
Kanezoh
2c5238c5f5 WIP: field_with methods used id, search 2021-06-19 07:55:11 +09:00
Kanezoh
6413cdee82 add field_with test 2021-06-19 07:09:02 +09:00
Kanezoh
274d4fa0c5 add dom_id,class test 2021-06-19 06:50:35 +09:00
Kanezoh
93b8151abd fix raw_value 2021-06-19 06:42:44 +09:00
Kanezoh
acbd92c79a add button form_test 2021-06-19 06:16:36 +09:00
Kanezoh
c627106259 split form_test 2021-06-19 06:00:33 +09:00
Kanezoh
7b231b9a6b refactor checkbox 2021-06-18 20:59:10 +09:00
Kanezoh
36f9f738bf add buttons 2021-06-18 20:20:10 +09:00
Kanezoh
f971ffd5ee add buttons 2021-06-18 20:20:00 +09:00
Kanezoh
ed9d0d02a4 add hidden input 2021-06-17 21:19:44 +09:00
Kanezoh
ca102c53a8 add hidden input 2021-06-17 21:19:36 +09:00
Kanezoh
c7f361a698 add form text 2021-06-17 15:49:46 +09:00
Kanezoh
23b2748e0f refactor form 2021-06-17 15:43:00 +09:00
Kanezoh
4ccbb38f4d include radiobutton to request data 2021-06-17 14:10:53 +09:00
Kanezoh
fe730164f3 make radiobutton exclusive 2021-06-17 12:04:45 +09:00
Kanezoh
f36767ad7f refactor macro 2021-06-17 11:27:34 +09:00
Kanezoh
1f08db49c9 add fields_with block 2021-06-17 10:50:16 +09:00
Kanezoh
5adeaf3187 fix comment 2021-06-17 08:33:23 +09:00
Kanezoh
08187b97e8 use macro to generate methods 2021-06-17 08:30:32 +09:00
Kanezoh
6ccb70dcb7 wip add radiobuttons 2021-06-17 00:11:04 +09:00
Kanezoh
83f390bd2a delete unnnecessary namespace 2021-06-16 23:35:14 +09:00
Kanezoh
eec62fade2 add form property to checkbox 2021-06-16 23:30:34 +09:00
Kanezoh
7d8c56e3f2 refactor test 2021-06-16 23:20:03 +09:00
Kanezoh
601a12f1ee allow nil to field value 2021-06-16 23:19:58 +09:00
Kanezoh
6c2a942809 wip checkbox test 2021-06-16 15:23:48 +09:00
Kanezoh
eba8ad6d6b wip add checkbox 2021-06-16 14:58:49 +09:00
Kanezoh
76d09d6802 add current_page and back 2021-06-16 14:22:29 +09:00
Kanezoh
316a3de570 add history test 2021-06-16 14:17:11 +09:00
Kanezoh
c2411e73eb refactor code 2021-06-16 11:59:04 +09:00
Kanezoh
0df9f07aef save cookie from meta tag 2021-06-15 07:13:29 +09:00
Kanezoh
378891eda7 delete unnecessary commentout 2021-06-14 23:41:36 +09:00
Kanezoh
7649a75870 add cookie test 2021-06-13 10:10:06 +09:00
Kanezoh
f3bd9845e3 add cookie test 2021-06-13 07:58:50 +09:00
Kanezoh
d96d597547 add submit form test 2021-06-12 23:17:45 +09:00
Kanezoh
24149b3d0c resolve uri path 2021-06-12 23:10:56 +09:00
Kanezoh
63bb01a67e field's value should be property 2021-06-12 22:47:34 +09:00
Kanezoh
3fa6d2db9f add post test 2021-06-11 13:47:36 +09:00
Kanezoh
22c6a4a42a add form test 2021-06-11 11:18:25 +09:00
Kanezoh
376ae24eee get form name 2021-06-11 10:52:34 +09:00
Kanezoh
e34f2e609d require webmock in spec_helper 2021-06-11 10:44:59 +09:00
Kanezoh
9edb9bc5f0 refactor form 2021-06-11 10:21:12 +09:00
Kanezoh
74325fc5a1 refactor code 2021-06-11 09:40:27 +09:00