Hide back button if not in search mode

This commit is contained in:
coolneng 2020-06-17 08:45:18 +02:00
parent fb430dd8cc
commit a390660a19
Signed by: coolneng
GPG Key ID: 9893DA236405AF57
2 changed files with 4 additions and 0 deletions

View File

@ -70,8 +70,10 @@
</div> </div>
</form> </form>
</div> </div>
<?php if (isset($_GET["search"])): ?>
<div style="text-align: right; margin-top: 20px;"> <div style="text-align: right; margin-top: 20px;">
<a href="patient.php" class="back_btn">Atrás</a> <a href="patient.php" class="back_btn">Atrás</a>
</div> </div>
<?php endif ?>
</body> </body>
</html> </html>

View File

@ -62,8 +62,10 @@
</div> </div>
</form> </form>
</div> </div>
<?php if (isset($_GET["search"])): ?>
<div style="text-align: right; margin-top: 20px;"> <div style="text-align: right; margin-top: 20px;">
<a href="user.php" class="back_btn">Atrás</a> <a href="user.php" class="back_btn">Atrás</a>
</div> </div>
<?php endif ?>
</body> </body>
</html> </html>