Commit ade2c6bf by Luka Pavlovic

Some css changes

parent 31662389
body {
font: 400 15px Lato, sans-serif;
line-height: 1.8;
color: #818181;
}
h2 {
font-size: 24px;
text-transform: uppercase;
color: #303030;
font-weight: 600;
margin-bottom: 30px;
text-align: center;
}
h4 {
font-size: 19px;
line-height: 1.375em;
color: #303030;
font-weight: 400;
margin-bottom: 30px;
text-align: center;
}
h6 {
text-align: center;
}
.navbar {
margin-bottom: 0;
background-color: #20B6C9;
z-index: 9999;
border: 0;
font-size: 12px !important;
line-height: 1.42857143 !important;
letter-spacing: 4px;
border-radius: 0;
font-family: Montserrat, sans-serif;
}
.navbar li a, .navbar .navbar-brand {
color: #fff !important;
}
.navbar-nav li a:hover, .navbar-nav li.active a {
color: #20B6C9 !important;
background-color: #fff !important;
}
.navbar-default .navbar-toggle {
border-color: transparent;
color: #fff !important;
}
.bg-grey {
background-color: #f6f6f6;
}
\ No newline at end of file
.form-control{
text-align: center;
width: 200px;
}
.label-primary{
background-color: #20B6C9;
}
.imagePreview{
width: 550px;
......@@ -5,7 +14,6 @@
border: 2px solid lightgray;
margin-left: 20px;
margin-top: 20px;
display: flex;
align-items: center;
justify-content: center;
......@@ -17,7 +25,35 @@
display: none;
max-width: 500px;
max-height: 300px;
justify-content: center;
}
.navbar {
margin-bottom: 0;
background-color: #20B6C9;
z-index: 9999;
border: 0;
font-size: 12px !important;
line-height: 1.42857143 !important;
letter-spacing: 4px;
border-radius: 0;
font-family: Montserrat, sans-serif;
}
.navbar li a, .navbar .navbar-brand {
color: #fff !important;
}
.navbar-nav li a:hover, .navbar-nav li.active a {
color: #20B6C9 !important;
background-color: #fff !important;
}
.navbar-default .navbar-toggle {
border-color: transparent;
color: #fff !important;
}
\ No newline at end of file
.form-control{
text-align: center;
width: 200px;
}
.label-primary{
background-color: #20B6C9;
}
.imagePreview{
width: 550px;
height: 300px;
border: 2px solid lightgray;
margin-left: 20px;
margin-top: 20px;
display: flex;
align-items: center;
justify-content: center;
font-weight: bold;
color: black;
}
.image-preview__image{
display: none;
max-width: 500px;
max-height: 300px;
justify-content: center;
}
.navbar {
margin-bottom: 0;
background-color: #20B6C9;
z-index: 9999;
border: 0;
font-size: 12px !important;
line-height: 1.42857143 !important;
letter-spacing: 4px;
border-radius: 0;
font-family: Montserrat, sans-serif;
}
.navbar li a, .navbar .navbar-brand {
color: #fff !important;
}
.navbar-nav li a:hover, .navbar-nav li.active a {
color: #20B6C9 !important;
background-color: #fff !important;
}
.navbar-default .navbar-toggle {
border-color: transparent;
color: #fff !important;
}
\ No newline at end of file
......@@ -10,6 +10,7 @@ h2 {
color: #303030;
font-weight: 600;
margin-bottom: 30px;
text-align: center;
}
h4 {
......@@ -18,6 +19,7 @@ h4 {
color: #303030;
font-weight: 400;
margin-bottom: 30px;
text-align: center;
}
.navbar {
......@@ -82,8 +84,9 @@ h4 {
.thumbnail img {
width: 100%;
height: 50%;
height: 100%;
margin-bottom: 10px;
}
.carousel-control.right, .carousel-control.left {
......
......@@ -3,30 +3,43 @@
<html>
<head>
<title></title>
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css" integrity="sha384-Vkoo8x4CGsO3+Hhxv8T/Q5PaXtkKtu6ug5TOeNV6gBiFeWPGFN9MuhOf23Q9Ifjh" crossorigin="anonymous">
<link rel="stylesheet" href="<?php echo base_url();?>assets/css/bootstrap.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/js/bootstrap.min.js" integrity="sha384-wfSDF2E50Y2D1uUdj0O3uMBJnjuUD4Ih7YwaYd1iqfktj0Uod8GCExl3Og8ifwB6" crossorigin="anonymous"></script>
<script src="https://code.jquery.com/jquery-3.4.1.slim.min.js" integrity="sha384-J6qa4849blE2+poT4WnyKhv5vZF5SrPo0iEjwBvKU7imGFAV0wwj1yYfoRSJoZ+n" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/popper.js@1.16.0/dist/umd/popper.min.js" integrity="sha384-Q6E9RHvbIyZFJoft+2mJbHaEWldlvI9IOYy5n3zV9zzTtmI3UksdQRVvoxMfooAo" crossorigin="anonymous"></script>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/js/bootstrap.min.js"></script>
<link href="https://fonts.googleapis.com/css?family=Montserrat" rel="stylesheet" type="text/css">
<link href="https://fonts.googleapis.com/css?family=Lato" rel="stylesheet" type="text/css">
<link rel="stylesheet" href="<?php echo base_url();?>assets/css/activities.css">
</style>
</head>
<body>
<nav>
<ul>
<nav id = "navbar" class="navbar navbar-default">
<div id="navbarDiv" class="container-fluid">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#myNavbar">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="<?php echo base_url();?>Pages/view">
<img src="<?php echo base_url();?>assets/images/ikonica.svg" width="50px">
</a>
</div>
<div class="collapse navbar-collapse" id="myNavbar">
<ul class="nav navbar-nav navbar-right">
<li>
<a href="<?php echo base_url();?>Pages/view"> About us!</a>
<a href="<?php echo base_url();?>Pages/view">Back </a>
</li>
<li>
<a href="<?php echo base_url();?>activity/showActivities"> Activities !</a>
<a href="<?php echo base_url();?>activity/showActivities">Activities </a>
</li>
<?php
......@@ -36,7 +49,7 @@
?>
<li>
<a href="<?php echo base_url();?>profile/myProfile">My profile</a>
<a href="<?php echo base_url();?>profile/myProfile">Profile</a>
</li>
<?php
......@@ -44,8 +57,6 @@
}
?>
<?php
if(isset($_SESSION['logged_in']))
{
......@@ -53,7 +64,7 @@
?>
<li>
<a href="<?php echo base_url();?>profile/workerProfile">My profile</a>
<a href="<?php echo base_url();?>profile/workerProfile">Profile</a>
</li>
<?php
......@@ -61,20 +72,6 @@
}
?>
<?php
if(isset($_SESSION['logged_in']))
{
if ($_SESSION['logged_in']['acl'] == 1) {
?>
<li>
<a href="<?php echo base_url();?>worker/workerSignup">Add new worker
</li>
<?php
}
}
?>
......@@ -89,12 +86,13 @@
}
?>"
>
<span class="glyphicon glyphicon-log-in"></span>
<?php
if(!$this->session->userdata('logged_in')){
echo "Log in";
echo "Login";
}
else {
echo "Log out";
echo "Logout";
}
?>
......@@ -102,31 +100,34 @@
</a>
</li>
</ul>
</nav>
</div>
</div>
</nav>
<h1>Our activities</h1>
<h2>Our activities</h2>
<!--Activities page when no one is logged in -->
<?php
if(!isset($_SESSION['logged_in']))
{
?>
Login to register for an activities
<div>
<?php foreach ($activities as $activity) {
<div class="container-fluid bg-grey">
<h4>Login to register for an activities</h4>
<h6><?php foreach ($activities as $activity) {
echo '<img src="data:image/jpeg;base64,'.base64_encode($activity['image']).'" width = "100px" alt = "image"> ';
echo "<div>Title:".$activity['title']." </div><br>";
echo "<div>Description:".$activity['description']."
<br> price: ".$activity['price']." euro
</div><br>";
echo "<div> on: </div>";
echo '<img src="data:image/jpeg;base64,'.base64_encode($activity['image']).'" width = "100px" alt = "image"> ';
echo "
<div>
<input type='datetime' disabled name='datetime' value='".$activity['datetime']."' >
</div> ";
}
?>
?></h6>
</div>
<?php
......@@ -140,17 +141,17 @@
if ($_SESSION['logged_in']['acl'] == 2) {
?>
<div class="container-fluid bg-grey">
<form action="<?php echo base_url();?>activity/moreAboutActivity?>" method="get">
<?php
<h6><?php
foreach ($activities as $activity) {
echo "<div>";
echo '<img src="data:image/jpeg;base64,'.base64_encode($activity['image']).'" width = "100px" alt = "image"> ';
echo "<div>Title:".$activity['title']." </div><br>";
echo "<div>Description:".$activity['description']."
<br> price: ".$activity['price']." euro
</div><br>";
echo "<div> on: </div>";
echo '<img src="data:image/jpeg;base64,'.base64_encode($activity['image']).'" width = "100px" alt = "image"> ';
echo "<input type='hidden' name='id' value=".$activity['id_activity'].">";
echo "
<div>
......@@ -160,9 +161,10 @@
echo "<input type='submit' value='More'></br>";
echo "</div>";
}
?>
?></h6>
</form>
</div>
<?php
}
}
......@@ -176,14 +178,13 @@
?>
<form method="post" action="<?php echo base_url();?>activity/deleteActivity">
<div>
<?php foreach ($activities as $activity) {
<div class="container-fluid bg-grey">
<h6><?php foreach ($activities as $activity) {
echo '<img src="data:image/jpeg;base64,'.base64_encode($activity['image']).'" width = "100px" alt = "image"> ';
echo "<div>Title:".$activity['title']." </div><br>";
echo "<div>Description:".$activity['description']."
<br> price: ".$activity['price']." euro
</div><br>";
echo "<div> on: </div>";
echo '<img src="data:image/jpeg;base64,'.base64_encode($activity['image']).'" width = "100px" alt = "image"> ';
echo "<input type='hidden' name='id' value=".$activity['id_activity'].">";
echo "
<div>
......@@ -192,15 +193,15 @@
";
echo "<input type='submit' name='btnDeleteActivity' value='Delete'></br>";
}
?>
?><h6>
</div>
</form>
<form action="<?php echo base_url();?>activity/addNewActivity?>" method="post">
<h6><form action="<?php echo base_url();?>activity/addNewActivity?>" method="post">
<input type="submit" name="addNewActivity" value="Add new activity">
</form>
</form></h6>
<?php
}
}
......
......@@ -2,38 +2,117 @@
<html>
<head>
<title></title>
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css" integrity="sha384-Vkoo8x4CGsO3+Hhxv8T/Q5PaXtkKtu6ug5TOeNV6gBiFeWPGFN9MuhOf23Q9Ifjh" crossorigin="anonymous">
<link rel="stylesheet" href="<?php echo base_url();?>assets/css/bootstrap.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/js/bootstrap.min.js" integrity="sha384-wfSDF2E50Y2D1uUdj0O3uMBJnjuUD4Ih7YwaYd1iqfktj0Uod8GCExl3Og8ifwB6" crossorigin="anonymous"></script>
<script src="https://code.jquery.com/jquery-3.4.1.slim.min.js" integrity="sha384-J6qa4849blE2+poT4WnyKhv5vZF5SrPo0iEjwBvKU7imGFAV0wwj1yYfoRSJoZ+n" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/popper.js@1.16.0/dist/umd/popper.min.js" integrity="sha384-Q6E9RHvbIyZFJoft+2mJbHaEWldlvI9IOYy5n3zV9zzTtmI3UksdQRVvoxMfooAo" crossorigin="anonymous"></script>
<link rel="stylesheet" href="<?php echo base_url();?>assets/css/workerRegistration.css">
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/js/bootstrap.min.js"></script>
<link href="https://fonts.googleapis.com/css?family=Montserrat" rel="stylesheet" type="text/css">
<link href="https://fonts.googleapis.com/css?family=Lato" rel="stylesheet" type="text/css">
<link rel="stylesheet" href="<?php echo base_url();?>assets/css/addNewActivity.css">
</head>
<body>
<nav id = "navbar" class="navbar navbar-default">
<div id="navbarDiv" class="container-fluid">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#myNavbar">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="<?php echo base_url();?>Pages/view">
<img src="<?php echo base_url();?>assets/images/ikonica.svg" width="50px">
</a>
</div>
<div class="collapse navbar-collapse" id="myNavbar">
<ul class="nav navbar-nav navbar-right">
<li>
<a href="<?php echo base_url();?>activity/showActivities">Activities </a>
</li>
<?php
if(isset($_SESSION['logged_in']))
{
if ($_SESSION['logged_in']['acl'] == 2) {
?>
<li>
<a href="<?php echo base_url();?>profile/myProfile">Profile</a>
</li>
<?php
}
}
?>
<?php
if(isset($_SESSION['logged_in']))
{
if ($_SESSION['logged_in']['acl'] == 1) {
?>
<li>
<a href="<?php echo base_url();?>profile/workerProfile">Profile</a>
</li>
<?php
}
}
?>
<form action="<?php echo base_url();?>activity/addNewActivity" id="form_add_new_activity" method="post" enctype="multipart/form-data">
<label >Title of the new activity:</label>
<li>
<a href="<?php
if(!$this->session->userdata('logged_in'))
{
echo base_url()."user/loginButton";
}
else {
echo base_url()."user/logout";
}
?>"
>
<span class="glyphicon glyphicon-log-in"></span>
<?php
if(!$this->session->userdata('logged_in')){
echo "Login";
}
else {
echo "Logout";
}
?>
</a>
</li>
</ul>
</div>
</div>
</nav>
<div class="form-group text-center bg-grey" >
<form action="<?php echo base_url();?>activity/addNewActivity" class="form-inline justify-content-center" id="form_add_new_activity" method="post" enctype="multipart/form-data"><br><br>
<label for="title"><span class="label label-primary">Title of the new activity</span></label>
<br>
<input type="text" name="title" placeholder="Title" >
<input type="text" class="form-control" id="title" name="title" placeholder="Title" >
<div class="errors"><?php echo form_error('title'); ?></div>
<br>
<label >Description of the new activity:</label>
<label for="description"><span class="label label-primary">Description of the new activity:</span></label>
<br>
<textarea form ="form_add_new_activity" name="description" id="description_of_activity" cols="50" rows="6" wrap="soft"></textarea>
<textarea class= "form-control" id="description" form ="form_add_new_activity" name="description" id="description_of_activity" cols="50" rows="6" wrap="soft"></textarea>
<div class="errors"><?php echo form_error('description'); ?></div>
<br>
<label >Pick a date and time:</label>
<label for="datetime"><span class="label label-primary">Pick a date and time:</span></label>
<br>
<input type="datetime-local" min="<?php echo date('Y-m-d'); ?>T00:00" name="datetime">
<input class="form-control" id="datetime" type="datetime-local" min="<?php echo date('Y-m-d'); ?>T00:00" name="datetime">
<div class="errors"><?php echo form_error('datetime'); ?></div>
<br>
......@@ -79,30 +158,31 @@
</script>
<br>
<label >Set a price for new activity:</label>
<label for="price"><span class="label label-primary">Set a price for new activity:</span></label>
<br>
<input type="text" name="price">
<input class="form-control" id="price" type="text" name="price">
<div class="errors"><?php echo form_error('price'); ?></div>
<br>
<label >Add full name of the activity menager:</label>
<label for="full_name"><span class="label label-primary">Add full name of the activity menager:</span></label>
<br>
<input type="text" name="full_name">
<input class="form-control" id="full_name" type="text" name="full_name">
<div class="errors"><?php echo form_error('full_name'); ?></div>
<br>
<label >Add phone number of the activity menager:</label>
<label for="phone_number"><span class="label label-primary">Add phone number of the activity menager:</span></label>
<br>
<input type="text" name="phone_number">
<input class="form-control" id="phone_number" type="text" name="phone_number">
<div class="errors"><?php echo form_error('phone_number'); ?></div>
<br>
<label >Add email of the activity menager:</label>
<label for="email"><span class="label label-primary">Add email of the activity menager:</span></label>
<br>
<input type="text" name="email">
<input class="form-control" id="email" type="text" name="email">
<div class="errors"><?php echo form_error('email'); ?></div>
<input id="btn_add_new_activity" type="submit" name="add_new_activity" value="Add">
</form>
</div>
</body>
</html>
\ No newline at end of file
<!DOCTYPE html>
<html>
<head>
<title></title>
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css" integrity="sha384-Vkoo8x4CGsO3+Hhxv8T/Q5PaXtkKtu6ug5TOeNV6gBiFeWPGFN9MuhOf23Q9Ifjh" crossorigin="anonymous">
<link rel="stylesheet" href="<?php echo base_url();?>assets/css/bootstrap.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/js/bootstrap.min.js" integrity="sha384-wfSDF2E50Y2D1uUdj0O3uMBJnjuUD4Ih7YwaYd1iqfktj0Uod8GCExl3Og8ifwB6" crossorigin="anonymous"></script>
<script src="https://code.jquery.com/jquery-3.4.1.slim.min.js" integrity="sha384-J6qa4849blE2+poT4WnyKhv5vZF5SrPo0iEjwBvKU7imGFAV0wwj1yYfoRSJoZ+n" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/popper.js@1.16.0/dist/umd/popper.min.js" integrity="sha384-Q6E9RHvbIyZFJoft+2mJbHaEWldlvI9IOYy5n3zV9zzTtmI3UksdQRVvoxMfooAo" crossorigin="anonymous"></script>
<link rel="stylesheet" href="<?php echo base_url();?>assets/css/workerRegistration.css">
<title></title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/js/bootstrap.min.js"></script>
<link href="https://fonts.googleapis.com/css?family=Montserrat" rel="stylesheet" type="text/css">
<link href="https://fonts.googleapis.com/css?family=Lato" rel="stylesheet" type="text/css">
<link rel="stylesheet" href="<?php echo base_url();?>assets/css/addNewApartment.css">
</head>
<body>
<form action="<?php echo base_url();?>pages/addNewApartment" id="form_add_new_apartment" method="post" enctype="multipart/form-data">
<nav id = "navbar" class="navbar navbar-default">
<div id="navbarDiv" class="container-fluid">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#myNavbar">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="<?php echo base_url();?>Pages/view">
<img src="<?php echo base_url();?>assets/images/ikonica.svg" width="50px">
</a>
</div>
<div class="collapse navbar-collapse" id="myNavbar">
<ul class="nav navbar-nav navbar-right">
<li>
<a href="<?php echo base_url();?>activity/showActivities">Activities </a>
</li>
<?php
if(isset($_SESSION['logged_in']))
{
if ($_SESSION['logged_in']['acl'] == 2) {
?>
<li>
<a href="<?php echo base_url();?>profile/myProfile">Profile</a>
</li>
<?php
}
}
?>
<?php
if(isset($_SESSION['logged_in']))
{
if ($_SESSION['logged_in']['acl'] == 1) {
?>
<li>
<a href="<?php echo base_url();?>profile/workerProfile">Profile</a>
</li>
<?php
}
}
?>
<li>
<a href="<?php
if(!$this->session->userdata('logged_in'))
{
echo base_url()."user/loginButton";
}
else {
echo base_url()."user/logout";
}
?>"
>
<span class="glyphicon glyphicon-log-in"></span>
<?php
if(!$this->session->userdata('logged_in')){
echo "Login";
}
else {
echo "Logout";
}
?>
</a>
</li>
</ul>
</div>
</div>
</nav>
<div class="form-group text-center bg-grey" >
<form action="<?php echo base_url();?>pages/addNewApartment" class="form-inline justify-content-center" id="form_add_new_apartment" method="post" enctype="multipart/form-data"><br><br>
<label >Title of the new apartment:</label>
<label for="title"><span class="label label-primary">Title of the new apartment:</span></label>
<br>
<input type="text" name="title" placeholder="Title" >
<input class="form-control" id="title" type="text" name="title" placeholder="Title" >
<div class="errors"><?php echo form_error('title'); ?></div>
<br>
<label >Description of the new apartment:</label>
<label for="description"><span class="label label-primary">Description of the new apartment:</span></label>
<br>
<textarea form ="form_add_new_apartment" name="description" cols="50" rows="6" wrap="soft"></textarea>
<textarea class= "form-control" id="description" form ="form_add_new_apartment" name="description" cols="50" rows="6" wrap="soft"></textarea>
<div class="errors"><?php echo form_error('description'); ?></div>
<br>
<label >Number of beds:</label>
<label for="number_of_beds"><span class="label label-primary">Number of beds:</span></label>
<br>
<input type="number" name="number_of_beds" placeholder="Number of beds" >
<input class= "form-control" id="number_of_beds" type="number" name="number_of_beds" placeholder="Number of beds" >
<div class="errors"><?php echo form_error('number_of_beds'); ?></div>
<br>
<label >Parking spots:</label>
<label for="number_of_beds"><span class="label label-primary">Parking spots:</span></label>
<br>
<input type="number" name="parking" placeholder="Number of beds" >
<input class= "form-control" id="parking" type="number" name="parking" placeholder="Number of beds" >
<div class="errors"><?php echo form_error('parking'); ?></div>
<br>
<label >Full name of the owner:</label>
<label for="full_name"><span class="label label-primary">Full name of the owner:</span></label>
<br>
<input type="text" name="full_name" placeholder="Title" >
<input class= "form-control" id="full_name" type="text" name="full_name" placeholder="Title" >
<div class="errors"><?php echo form_error('full_name'); ?></div>
<br>
<label >Phone number of the owner:</label>
<label for="phone_number"><span class="label label-primary">Phone number of the owner:</span></label>
<br>
<input type="text" name="phone_number" placeholder="Title" >
<input class= "form-control" id="phone_number" type="text" name="phone_number" placeholder="Title" >
<div class="errors"><?php echo form_error('phone_number'); ?></div>
<br>
<label >Email of the owner:</label>
<label for="email"><span class="label label-primary">Email of the owner:</span></label>
<br>
<input type="text" name="email" placeholder="Title" >
<input class= "form-control" id="email" type="text" name="email" placeholder="Title" >
<div class="errors"><?php echo form_error('email'); ?></div>
<br>
......@@ -106,5 +186,6 @@
<input type="submit" name="add_new_apartment" value="Add">
</form>
</div>
</body>
</html>
\ No newline at end of file
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 sign in to comment