ask for single tag, clarify purpose

This commit is contained in:
Kyle Drake 2014-07-22 00:17:13 -05:00
parent 7de447cf6f
commit 36f7603142
2 changed files with 9 additions and 7 deletions

View file

@ -22,18 +22,18 @@
<input type="hidden" value="<%= csrf_token %>" name="csrf_token">
<div class="modal-header">
<button class="close" type="button" data-dismiss="modal" aria-hidden="true">x</button>
<h3 id="addTagLabel">Add Tags</h3>
<h3 id="addTagLabel">Add a Tag</h3>
</div>
<div class="modal-body">
<p>
Tags must only be a single word, and can only contain letters and numbers, and you can only have up to five tags. Separate multiple tags with commas (example: pokemon, gardening, bicycles).
A tag can only be a single word, and can only contain letters and numbers.
</p>
<p>Tags:</p>
<p>Tag:</p>
<input type="text" name="tags">
</div>
<div class="modal-footer">
<button class="btn" data-dismiss="modal" aria-hidden="true">Cancel</button>
<button type="submit" class="btn btn-Action">Add Tag(s)</button>
<button type="submit" class="btn btn-Action">Add Tag</button>
</div>
</form>
</div>

View file

@ -61,10 +61,12 @@
<hr>
<p>You can optionally enter some tags! Tags will allow others to find your site based on your interests, or your site's theme. <b>Separate multiple tags with commas</b>. Don't think too hard about this, you can change them later. You can have a maximum of five tags, tags can only contain letters (A-Z) and numbers (0-9), no spaces.</p>
<p>You can optionally enter a tag! A tag allows others to find your site by looking for sites with that tag (examples: <a href="/browse?tag=pokemon">pokemon</a>, <a href="/browse?tag=chess">chess</a>). Keep your tag simple and generic. Don't use tags like "johnspersonalsite", it's too unique and won't have related sites. A tag can only contain letters (A-Z) and numbers (0-9), no spaces.
</p>
<p>Don't think too hard about this! You don't have to add a tag if your site doesn't have a specific topic, and you can always add one later.</p>
<h5>Tags</h5>
<input class="input-Area" name="tags" type="text" style="width: 400px; max-width:100%" placeholder="pokemon, video games, bulbasaur" value="<%= params[:tags] %>" autocapitalize="off" autocorrect="off">
<h5>Add a Tag</h5>
<input class="input-Area" name="tags" type="text" style="width: 400px; max-width:100%" placeholder="pokemon" value="<%= params[:tags] %>" autocapitalize="off" autocorrect="off">
<hr>