{main_contents=} {%current_year=date('Y')} {%current_month=date('n')}
{%form_value=get_form_data('succulent')} {form 'succulent',^^Succulent_data.input(form_type,form_value);^^, post_param({},'contestguide.html') ,enctype:'multipart/form-data' }
作品名*
{text "succulent_title",check:"required",class:"input_w_post js_placeholder",title:"作品名は10文字までで入力して下さい"}
投稿者名*
{text "user_name",check:"required",class:"input_w_post js_placeholder",title:"投稿者名は10文字までで入力して下さい"}
メールアドレス*
{text "user_email",check:"email,required",class:"input_w_post js_placeholder",title:"受賞作品はプレゼント!!連絡可能なmail入力下さい"}
コメント*
{tarea "succulent_comment",check:"required",class:"input_w_post js_placeholder",title:"コメントは60文字以内でご入力下さい",style:"height:84px;"}
{* サムネイル画像の親divに.bg_previewを持たせてます *}
{up_succulent_set "succulent_image",width:"525",height:"525",type:"image"}
{submit "作品を投稿する",class:"input_btn btn_primary btn_posting"}
{formend()}

{current_year}/{current_month}の投稿作品

{%data_list=Succulent_data.output(current_year:current_year,current_month:current_month)}
{/end} {include '/../layout/layout_contest.html'}