Commit 1efa145c authored by Jyrki's avatar Jyrki 🐾
Browse files

added some conditionals

parent 3d6915fa
......@@ -12,24 +12,25 @@
</ul>
</div>
<div class="col-md-9">
<form role="form">
<form role="form" action="ucp.php?page=settings" method="POST">
<div class="form-group">
<label for="sitename">Site Name</label>
<input type="text" class="form-control" id="sitename" placeholder="3 words about your mom" value="{$site_name}">
</div>
<div class="checkbox">
<label>
<input id="recent_check" type="checkbox" onchange="a(!this.checked)"> Showing Recent Answers
<input id="recent_check" type="checkbox" onchange="a(!this.checked)"{if="$recent_public"} checked{/if}> Show Recent Answers
</label>
</div>
<div class="form-group">
<label for="recent">Recent Answers</label>
<input type="number" class="form-control" id="recent-count" name="recent_count" value="5">
<input type="number" class="form-control" id="recent-count" name="recent_count" value="5"{if="!$recent_public"} disabled{/if}>
</div>
<button type="submit" class="btn btn-default" id="recent-btn">Submit</button>
<button type="submit" class="btn btn-default" id="recent-btn"{if="!$recent_public"} disabled{/if}>Submit</button>
<input type="hidden" name="generic">
</form>
<hr/>
<form role="form">
<form role="form" action="ucp.php?page=settings" method="POST">
<div class="form-group">
<label for="password_change">New Password</label>
<input type="password" class="form-control" id="password_change" placeholder="Password">
......@@ -39,6 +40,7 @@
<input type="password" class="form-control" id="password_verify" placeholder="Password">
</div>
<button type="submit" class="btn btn-default">Change Password</button>
<input type="hidden" name="password">
</form>
</div>
</div>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment