remotes/1693045480750635534/spooky-22
Aevann1 2022-03-04 20:19:43 +02:00
parent b3f196b324
commit d6aa08fcf6
3 changed files with 6 additions and 4 deletions

View File

@ -29,8 +29,8 @@
<label for="title">Sub Name</label>
<input class="form-control" id="title-register" aria-describedby="titleHelpRegister" type="text" name="name" required>
<small class="form-text text-muted">Names must be 3-20 characters</small>
<input minlength="3" maxlength="20" pattern='[a-zA-Z0-9_\-]*' class="form-control" id="title-register" aria-describedby="titleHelpRegister" type="text" name="name" required>
<small class="form-text text-muted">3-20 characters, including letters, numbers, _ , and -</small>
</div>

View File

@ -37,7 +37,7 @@
{% if v.mods(sub.name) %}
<form action="/s/{{sub.name}}/add_mod" method="post">
<input autocomplete="off" type="hidden" name="formkey" value="{{v.formkey}}" >
<input class="form-control" style="display:inline;width:25%" autocomplete="off" type="text" name="user" class="form-control" placeholder="Enter username..">
<input class="form-control" style="display:inline;width:250px" autocomplete="off" type="text" name="user" class="form-control" placeholder="Enter username..">
<input class="btn btn-primary" style="margin-top:-5px" autocomplete="off" class="btn btn-primary ml-auto" type="submit" value="Add Mod">
</form>
{% endif %}

View File

@ -88,8 +88,10 @@
<option value="{{s}}"></option>
{% endfor %}
</datalist>
</div>
<div class="mt-1" style="font-size: min(3.5vw,14px)"><span style="color:#ffcccb ">WARNING</span>: selecting a sub considerably limits the number of people who will see your post. Don't select a sub unless that's what you want.</div>
<label class='mt-4' for="title">Post Title</label>