#*
 * Aipo is a groupware program developed by Aimluck,Inc.
 * Copyright (C) 2004-2010 Aimluck,Inc.
 * http://aipostyle.com/
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Affero General Public License as
 * published by the Free Software Foundation, either version 3 of the
 * License, or (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU Affero General Public License for more details.
 *
 * You should have received a copy of the GNU Affero General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 *#

## ---------------------------------------------------------------------------
#set($link = "$!jslink.getPortletById($!portlet.ID).addQueryData('eventSubmit_doBlog_entry_list_latest','1')")
#if($mode=="new_form")
#set ($action_str = "追加する")
#set ($subtitle = '記事追加')
#set ($event_submit = "eventSubmit_doBlog_thema_insert")
#else
#set ($action_str = "更新する")
#set ($subtitle = '記事編集')
#set ($event_submit = "eventSubmit_doBlog_entry_update")
#end
#set($linklist = [["ブログ記事一覧", "$!jslink.getPortletById($!portlet.ID).addQueryData('eventSubmit_doBlog_entry_list_latest','1')"]])

#ALcell_pagetitle_iphone($career $subtitle)
#ALcell_linklist_iphone($career $linklist)
#ALcell_errmsg($career $errmsgs)
#ALcell_contents_header($career)
<input type="hidden" name="mode" value="insert" />
<h3>テーマ名#ALcell_must()</h3>
#ALcell_textfield($career 'thema_name' $!result.ThemaName 30 50 '' 'h')
<h3>$!result.getFieldName("description")</h3>
#ALcell_textarea($career 'description' $!result.Description 2 15 '' 'h')
#ALcell_submit($career $event_submit $action_str)
#ALcell_contents_footer($career)
#ALcell_linklist_iphone($career $linklist)
