Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Also style form-row
Signed-off-by: Chris Warrick <kwpolska@gmail.com>
  • Loading branch information
Kwpolska committed Apr 22, 2018
1 parent 21eb913 commit 65f230e
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions templates/add.html
Expand Up @@ -3,15 +3,15 @@

<form class="form-horizontal" method="POST" action="">
{% csrf_token %}
<div class="form-group">
<div class="form-group form-row">
<label class="control-label col-lg-2" for="inputTitle">Title</label>
<div class="col-lg-10">
<input type="text" class="form-control" name="title" id="inputTitle" placeholder="Title"
required maxlength="100">
<span class="help-block">Should be the same as <tt>BLOG_TITLE</tt>.</span>
</div>
</div>
<div class="form-group">
<div class="form-group form-row">
<label class="control-label col-lg-2" for="inputAuthor">Author</label>
<div class="col-lg-10">
<input type="text" class="form-control" name="author" id="inputAuthor" placeholder="Author"
Expand All @@ -20,14 +20,14 @@
boat.</span>
</div>
</div>
<div class="form-group">
<div class="form-group form-row">
<label class="control-label col-lg-2" for="inputURL">URL</label>
<div class="col-lg-10">
<input type="url" class="form-control" name="url" id="inputURL" placeholder="URL" required maxlength="512">
<span class="help-block">Should be the same as <tt>SITE_URL</tt>.</span>
</div>
</div>
<div class="form-group">
<div class="form-group form-row">
<label class="control-label col-lg-2" for="inputDescription">Description</label>
<div class="col-lg-10">
<textarea name="description" class="form-control" id="inputDescription" placeholder="Description"
Expand All @@ -36,15 +36,15 @@
generous!)</span>
</div>
</div>
<div class="form-group">
<div class="form-group form-row">
<label class="control-label col-lg-2" for="inputSource">Site source</label>
<div class="col-lg-10">
<input type="url" class="form-control" name="sourcelink" id="inputSource"
placeholder="Site source" maxlength="512">
<span class="help-block">Link to your site source on GitHub (if any)</span>
</div>
</div>
<div class="form-group">
<div class="form-group form-row">
<label class="control-label col-lg-2" for="selectLanguages">Languages</label>
<div class="col-lg-10">
<select multiple name="languages" id="selectLanguages" class="form-control">
Expand All @@ -60,7 +60,7 @@
an Issue on GitHub</a>.</p>
</div>
</div>
<div class="form-group">
<div class="form-group form-row">
<div class="offset-lg-10 col-lg-10">
<label class="checkbox">
<input name="tos" type="checkbox" required> I agree to the <a href="/tos/">Terms of Service and Privacy Policy</a>.
Expand Down

0 comments on commit 65f230e

Please sign in to comment.