Add headline field, with templates.

This commit is contained in:
Colin Kuskie 2009-04-09 14:53:10 +00:00
parent 9ccdd08a01
commit cf546ad031
4 changed files with 11 additions and 1 deletions

View file

@ -319,11 +319,15 @@ sub getEditForm {
formTitle => $isNew
? $i18n->get('add a story','Asset_StoryArchive')
: $i18n->get('editing','Asset_WikiPage').' '.$title,
headlineForm => WebGUI::Form::text($session, {
name => 'headline',
value => $form->get('headline') || $self->get('headline'),
} ),
titleForm => WebGUI::Form::text($session, {
name => 'title',
value => $form->get('title') || $self->get('title'),
} ),
subTitleForm => WebGUI::Form::textarea($session, {
subtitleForm => WebGUI::Form::textarea($session, {
name => 'subtitle',
value => $form->get('subtitle') || $self->get('subtitle')
} ),