Skip to content

Instantly share code, notes, and snippets.

@rumidier
Created June 19, 2012 08:35
Show Gist options
  • Save rumidier/2953030 to your computer and use it in GitHub Desktop.
Save rumidier/2953030 to your computer and use it in GitHub Desktop.
write.tt
<center>
<br />
<!-- 입력된 값을 다음 페이지로 넘기기 위해 form을 만든다. -->
<form action="[% c.uri_for('/list/write') %]" method="POST">
<table width=580 border=0 cellpadding=2 cellspacing=1 bgcolor=#777777>
<tr>
<td height=20 align="center" bgcolor=#999999>
<font color="white"><b>글 쓰 기</b></font>
</td>
</tr>
<!-- 입력 부분 -->
<tr>
<td bgcolor="white">&nbsp;
<table>
<tr>
<td width=60 align="left">이름</td>
<td align="left">
<input type="text" name="name" size=20 maxlength=10>
</td>
</tr>
<tr>
<td width=60 align="left">제 목</td>
<td align="left">
<input type="text" name="title" size=60 maxlength=35>
</td>
</tr>
<tr>
<td width=60 align="left">내용</td>
<td align="left">
<textarea name=content cols=65 rows=15></textarea>
</td>
</tr>
<tr>
<td width=60 align=left >파일</td>
<td align=left>
<input type=file size=40 name=upfile>
</td>
</tr>
<tr>
<td colspan=10 align=center>
<input type=submit class="btn btn-primary" value="글 저장하기">
&nbsp;&nbsp;
<input type=reset class="btn btn-primary" value="다시 쓰기">
&nbsp;&nbsp;
<a href="[% c.uri_for('/list') %]" class="btn btn-primary">되돌아가기</a>
</td>
</tr>
</table>
</td>
</tr>
<!-- 입력 부분 끝 -->
</table>
</form>
</center>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment