Permalink
Browse files

display address

  • Loading branch information...
1 parent f4d2045 commit c4c112d46e0671ef7407e6e1842d210819fed174 @lestrrat lestrrat committed Apr 14, 2009
View
4 plugins/Pixis-Plugin-Event/root/event/view.tt
@@ -17,6 +17,10 @@
<td>[% event.description.replace("\n", "<br>") %]</td>
</tr>
<tr>
+ <th>[% loc("Event Venue") %]</th>
+ <td>[% event.address.replace("\n", "<br>") %]</td>
+</tr>
+<tr>
<th>[% loc("Event Dates") %]</th>
<td>[%
SET start_on_str = event.start_on.strftime('%Y/%m/%d');
View
9 plugins/Pixis-Plugin-Event/root/forms/event/edit.yml
@@ -12,6 +12,15 @@ elements:
- type: Textarea
rows: 5
cols: 40
+ name: address
+ label_loc: Event Venue
+ constraints:
+ - Required
+ filters:
+ - HTMLEscape
+ - type: Textarea
+ rows: 5
+ cols: 40
name: description
label_loc: Event Description
constraints:

0 comments on commit c4c112d

Please sign in to comment.