Skip to content

Instantly share code, notes, and snippets.

@t-min
Last active August 29, 2015 14:08
Show Gist options
  • Select an option

  • Save t-min/d838daa4252c5e862009 to your computer and use it in GitHub Desktop.

Select an option

Save t-min/d838daa4252c5e862009 to your computer and use it in GitHub Desktop.
<!--commentform-->
<form class="form-horizontal action="./" method="post" name="comment_form" id="comment_form"">
<fieldset>
<h4 class="sub_title"><%template_post_comment></h4>
<input type="hidden" name="mode" value="regist" />
<input type="hidden" name="comment[no]" value="<%pno>" />
<div class="form-group">
<label for="name" class="col-md-2 control-label"><%template_name></label>
<div class="col-md-6">
<input class="form-control" id="name" type="text" name="comment[name]" value="<%cookie_name>" />
</div>
</div>
<div class="form-group">
<label for="subject" class="col-md-2 control-label"><%template_title></label>
<div class="col-md-6">
<input class="form-control" id="subject" type="text" name="edit[title]" value="<%edit_title>" />
</div>
</div>
<div class="form-group">
<label for="mail" class="col-md-2 control-label"><%cookie_mail></label>
<div class="col-md-6">
<input class="form-control" id="mail" type="text" name="comment[mail]" value="<%cookie_mail>" />
</div>
</div>
<div class="form-group">
<label for="url" class="col-md-2 control-label">URL</label>
<div class="col-md-6">
<input class="form-control" id="url" type="text" name="comment[url]" size="30" value="<%cookie_url>" />
</div>
</div>
  <div class="form-group">
<label for="comment" class="col-md-2 control-label"><%template_body></label>
<div class="col-md-6">
<script type="text/javascript" src="<%template_comment_js>"></script>
<textarea class="form-control" id="comment" rows="5" name="comment[body]"></textarea>
</div>
</div>
<div class="form-group">
<label for="pass" class="col-md-2 control-label"><%template_password></label>
<div class="col-md-6">
<input class="form-control" id="pass" type="password" name="comment[pass]" size="20" />
</div>
</div>
<div class="form-group form-inline">
<label for="himitu" class="col-md-3"><%template_private></label>
<input id="himitu" type="checkbox" name="edit[himitu]" /><%template_private_check>
<input class="btn btn-default btn-sm" type="submit" />
</div>
</fieldset>
</form>
<!--/comment_area-->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment