Skip to content
Browse files

add event venue

  • Loading branch information...
1 parent f5cb962 commit 07cedcae6d9abfa528799cf642a565d36659e4d5 @lestrrat lestrrat committed Apr 14, 2009
View
3 plugins/Pixis-Plugin-Event/lib/Pixis/Plugin/Event/I18N/ja.po
@@ -50,3 +50,6 @@ msgstr "%1 名"
msgid "Event Registration"
msgstr "参加登録"
+
+msgid "Event Venue"
+msgstr "場所"
View
18 plugins/Pixis-Plugin-Event/root/forms/event/create.yml
@@ -38,6 +38,11 @@ elements:
- Required
filters:
- HTMLEscape
+ - type: Textarea
+ rows: 5
+ cols: 40
+ name: address
+ label_loc: Event Venue
- type: Text
name: capacity
label_loc: Event Capacity
@@ -60,14 +65,21 @@ elements:
name: start_on
id: start_on_picker
label_loc: 開催日
+ constraints:
+ - Required
inflators:
- - type: DateTime
- parser:
- strptime: '%m/%d/%Y'
+ - type: DateTime
+ time_zone: local
+ parser:
+ regex: '^(\d{2})/(\d{2})/(\d{4})$'
+ params: [month, day, year]
- type: Text
name: end_on
id: end_on_picker
label_loc: 終了日
+ constraints:
+ - type: Regex
+ regex: ^\d{2}/\d{2}/\d{4}$
filters:
- type: CopyValue
field: start_on

0 comments on commit 07cedca

Please sign in to comment.
Something went wrong with that request. Please try again.