Removed unnecessary values

This commit is contained in:
Marcin Kurczewski 2014-09-13 16:11:41 +02:00
parent 23f5100cf8
commit 7ec3715cdd

View file

@ -5,17 +5,17 @@
<label class="form-label">Safety:</label> <label class="form-label">Safety:</label>
<div class="form-input"> <div class="form-input">
<label for="browsing-settings-safety-safe"> <label for="browsing-settings-safety-safe">
<input <% print(settings.listPosts.safe ? 'checked="checked"' : '') %> type="checkbox" id="browsing-settings-safety-safe" name="listSafePosts" value="1"/> <input <% print(settings.listPosts.safe ? 'checked="checked"' : '') %> type="checkbox" id="browsing-settings-safety-safe" name="listSafePosts" value="safe"/>
Safe Safe
</label> </label>
<label for="browsing-settings-safety-sketchy"> <label for="browsing-settings-safety-sketchy">
<input <% print(settings.listPosts.sketchy ? 'checked="checked"' : '') %> type="checkbox" id="browsing-settings-safety-sketchy" name="listSketchyPosts" value="2"/> <input <% print(settings.listPosts.sketchy ? 'checked="checked"' : '') %> type="checkbox" id="browsing-settings-safety-sketchy" name="listSketchyPosts" value="sketchy"/>
Sketchy Sketchy
</label> </label>
<label for="browsing-settings-safety-unsafe"> <label for="browsing-settings-safety-unsafe">
<input <% print(settings.listPosts.unsafe ? 'checked="checked"' : '') %> type="checkbox" id="browsing-settings-safety-unsafe" name="listUnsafePosts" value="3"/> <input <% print(settings.listPosts.unsafe ? 'checked="checked"' : '') %> type="checkbox" id="browsing-settings-safety-unsafe" name="listUnsafePosts" value="unsafe"/>
Unsafe Unsafe
</label> </label>
</div> </div>
@ -25,7 +25,7 @@
<label class="form-label" for="browsing-settings-endless-scroll">Endless scroll:</label> <label class="form-label" for="browsing-settings-endless-scroll">Endless scroll:</label>
<div class="form-input"> <div class="form-input">
<label for="browsing-settings-endless-scroll"> <label for="browsing-settings-endless-scroll">
<input <% print(settings.endlessScroll ? 'checked="checked"' : '') %> type="checkbox" id="browsing-settings-endless-scroll" name="endless-scroll" value="1"/> <input <% print(settings.endlessScroll ? 'checked="checked"' : '') %> type="checkbox" id="browsing-settings-endless-scroll" name="endless-scroll"/>
Enabled Enabled
</label> </label>
</div> </div>
@ -35,7 +35,7 @@
<label class="form-label" for="browsing-settings-hide-downvoted">Hide down-voted:</label> <label class="form-label" for="browsing-settings-hide-downvoted">Hide down-voted:</label>
<div class="form-input"> <div class="form-input">
<label for="browsing-settings-hide-downvoted"> <label for="browsing-settings-hide-downvoted">
<input <% print(settings.hideDownvoted ? 'checked="checked"' : '') %>type="checkbox" id="browsing-settings-hide-downvoted" name="hide-downvoted" value="1"/> <input <% print(settings.hideDownvoted ? 'checked="checked"' : '') %>type="checkbox" id="browsing-settings-hide-downvoted" name="hide-downvoted"/>
Enabled Enabled
</label> </label>
</div> </div>