how to view registration form data after clicking signup button - html

hii guys i have a code that consists of login and registration forms as a tabs when we clicked on either ones it goes on to that respective form but now I want to change it a bit by removing the Register tab and adding it as a signup button beside login button and in the register page i want to add login button when i click it its goes to login form vice-versa..
PS:- I am new to HTML and Bootstrap and i want this to be done in pure HTML r Bootstrap
here is the code of signup.html
<div class="container">
<div class="row">
<div class="col-md-12 col-md-offset-3">
<div class="panel panel-login">
<div class="panel-heading">
<ul class="nav nav-tabs" id="myTab" role="tablist">
<li class="nav-item">
<a class="nav-link active" id="login-tab" data-toggle="tab" href="#login-form" role="tab" aria-controls="login" aria-selected="true">Login</a>
</li>
<li class="nav-item">
<a class="nav-link" id="register-tab" data-toggle="tab" href="#register-form" role="tab" aria-controls="register" aria-selected="false">Register</a>
</li>
</ul>
<hr>
</div>
<div class="panel-body">
<div class="row">
<div class="col-lg-12">
<div class="tab-content" id="myTabContent">
<form id="login-form" class="tab-pane show active" role="tabpanel" aria-labelledby="login-tab" action="#" method="post" role="form" >
<div class="form-group">
<input type="text" name="username" id="username" tabindex="1" class="form-control" placeholder="Username" value="">
</div>
<div class="form-group">
<input type="password" name="password" id="password" tabindex="2" class="form-control" placeholder="Password">
</div>
<div class="form-group text-center">
<input type="checkbox" tabindex="3" class="" name="remember" id="remember">
<label for="remember"> Remember Me</label>
</div>
<div class="form-group">
<div class="row">
<div class="col-sm-12 col-md-6">
<input type="submit" name="login-submit" id="login-submit" tabindex="4" class="form-control btn btn-login" value="Log In">
</div>
</div>
</div>
<div class="form-group">
<div class="row">
<div class="col-lg-12">
<div class="text-center">
Forgot Password?
</div>
</div>
</div>
</div>
<div class="col-md-12 col-sm-12">
<div class="row logs">
<button class="loginBtn loginBtn--google" (click)="signInGoogle()" >Login with Google</button>
<button class="loginBtn loginBtn--facebook" (click)="signInFacebook()" >Login with Facebook</button>
<button class="loginBtn btn-linkedin" (click)="signInLinkedin()">
<span class="fa fa-linkedin"></span>
<span class="linkedtext">Login with LinkedIn</span>
</button>
</div>
</div>
</form>
<form id="register-form" class=" fade tab-pane " action="#" method="post" role="form" >
<div class="form-group">
<input type="text" name="username" id="username" tabindex="1" class="form-control" placeholder="Username" value="">
</div>
<div class="form-group">
<input type="email" name="email" id="email" tabindex="1" class="form-control" placeholder="Email Address" value="">
</div>
<div class="form-group">
<input type="password" name="password" id="password" tabindex="2" class="form-control" placeholder="Password">
</div>
<div class="form-group">
<input type="password" name="confirm-password" id="confirm-password" tabindex="2" class="form-control" placeholder="Confirm Password">
</div>
<div class="form-group">
<div class="row">
<div class="col-sm-12 col-md-6 col-sm-offset-3">
<input type="submit" name="register-submit" id="register-submit" tabindex="4" class="form-control btn btn-register" value="Register Now">
</div>
</div>
</div>
</form>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
I tried many ways to do it but I couldn't come up.. if there is anyother way to do it please let me know thanks.

Jquery makes this really easy to do:
$(document).ready(function () {
$('#register-form').hide()
$('#register-tab').click(function () {
$("#login-form").hide();
$("#register-form").show();
})
$('#login-tab').click(function () {
$("#register-form").hide();
$("#login-form").show();
})
});
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
<div class="container">
<div class="row">
<div class="col-md-12 col-md-offset-3">
<div class="panel panel-login">
<div class="panel-heading">
<ul class="nav nav-tabs" id="myTab" role="tablist">
<li class="nav-item">
<a class="nav-link active" id="login-tab" data-toggle="tab" href="#login-form" role="tab" aria-controls="login" aria-selected="true">Login</a>
</li>
<li class="nav-item">
<a class="nav-link" id="register-tab" data-toggle="tab" href="#register-form" role="tab" aria-controls="register" aria-selected="false">Register</a>
</li>
</ul>
<hr>
</div>
<div class="panel-body">
<div class="row">
<div class="col-lg-12">
<div class="tab-content" id="myTabContent">
<form id="login-form" class="tab-pane show active" role="tabpanel" aria-labelledby="login-tab" action="#" method="post" role="form" >
<div class="form-group">
<input type="text" name="username" id="username" tabindex="1" class="form-control" placeholder="Username" value="">
</div>
<div class="form-group">
<input type="password" name="password" id="password" tabindex="2" class="form-control" placeholder="Password">
</div>
<div class="form-group text-center">
<input type="checkbox" tabindex="3" class="" name="remember" id="remember">
<label for="remember"> Remember Me</label>
</div>
<div class="form-group">
<div class="row">
<div class="col-sm-12 col-md-6">
<input type="submit" name="login-submit" id="login-submit" tabindex="4" class="form-control btn btn-login" value="Log In">
</div>
</div>
</div>
<div class="form-group">
<div class="row">
<div class="col-lg-12">
<div class="text-center">
Forgot Password?
</div>
</div>
</div>
</div>
<div class="col-md-12 col-sm-12">
<div class="row logs">
<button class="loginBtn loginBtn--google" (click)="signInGoogle()" >Login with Google</button>
<button class="loginBtn loginBtn--facebook" (click)="signInFacebook()" >Login with Facebook</button>
<button class="loginBtn btn-linkedin" (click)="signInLinkedin()">
<span class="fa fa-linkedin"></span>
<span class="linkedtext">Login with LinkedIn</span>
</button>
</div>
</div>
</form>
<form id="register-form" class=" fade tab-pane " action="#" method="post" role="form" >
<div class="form-group">
<input type="text" name="username" id="username" tabindex="1" class="form-control" placeholder="Username" value="">
</div>
<div class="form-group">
<input type="email" name="email" id="email" tabindex="1" class="form-control" placeholder="Email Address" value="">
</div>
<div class="form-group">
<input type="password" name="password" id="password" tabindex="2" class="form-control" placeholder="Password">
</div>
<div class="form-group">
<input type="password" name="confirm-password" id="confirm-password" tabindex="2" class="form-control" placeholder="Confirm Password">
</div>
<div class="form-group">
<div class="row">
<div class="col-sm-12 col-md-6 col-sm-offset-3">
<input type="submit" name="register-submit" id="register-submit" tabindex="4" class="form-control btn btn-register" value="Register Now">
</div>
</div>
</div>
</form>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>

Related

unable to create tabs properly with uib-tabset

I've been trying to create tabs dynamically with uib-tabset and each tab should contain different form but in my case textbox of first form gets overwritten by new tab generated (if i enter data in one form it gets replicated to other forms). I want all tabs to contain different data.
<uib-tabset class="nav nav-tabs" role="tablist" >
<uib-tab role="presentation" ng-repeat="tab in tabs" ng-click="selectTab($index)" ng-class="{'active':selectedTab == $index}" ng-if="tab.display">
<uib-tab-heading>
<a data-target="#tab" aria-controls="home" role="tab" data-toggle="tab">{{tab.value}} <span ng-click="deleteTab($index)" class="glyphicon glyphicon-remove"></span></a>
</uib-tab-heading>
<div class="panel-body" ng-if="tab.display" >
<form ng-submit="addattributevalues()">
<div class="form-group">
<label class="col-sm-2 control-label">Regular Price:</label>
<div class="col-sm-10">
<input type="text" class="form-control" ng-model="obj.regularPrice">
</div>
</div>
<div class="form-group">
<label class="col-sm-2 control-label">Sale Price:</label>
<div class="col-sm-10">
<input type="text" class="form-control" ng-model="obj.salePrice" >
</div>
</div>
<div class="form-group">
<label class="col-sm-2 control-label">Purchase Price:</label>
<div class="col-sm-10">
<input type="text" class="form-control" ng-model="obj.purchasePrice">
</div>
</div>
<div class="form-group">
<label class="col-sm-2 control-label">Stock Status:</label>
<div class="col-lg-offset-2 col-lg-10>
<button class="btn btn-sm btn-white" type="submit" >Submit</button>
</div>
</form>
</div>
</uib-tab>
</uib-tabset>
Below is corrected code, you need to add the model properties in the same tab object. and you have used ng-if="tab.display" at uib-tab which is hiding all the other tabs, this should be removed.
<uib-tabset class="nav nav-tabs" role="tablist" >
<uib-tab role="presentation" ng-repeat="tab in tabs" ng-click="selectTab($index)">
<uib-tab-heading>
<a href="#" aria-controls="home" role="tab" data-toggle="tab">{{tab.value}}
<span ng-click="deleteTab($index)" class="glyphicon glyphicon-remove"></span></a>
</uib-tab-heading>
<div class="panel-body">
<form ng-submit="addattributevalues()">
<div class="form-group">
<label class="col-sm-2 control-label">Regular Price:</label>
<div class="col-sm-10">
<input type="text" class="form-control" ng-model="tab.regularPrice">
</div>
</div>
<div class="form-group">
<label class="col-sm-2 control-label">Sale Price:</label>
<div class="col-sm-10">
<input type="text" class="form-control" ng-model="tab.salePrice" >
</div>
</div>
<div class="form-group">
<label class="col-sm-2 control-label">Purchase Price:</label>
<div class="col-sm-10">
<input type="text" class="form-control" ng-model="tab.purchasePrice">
</div>
</div>
<div class="form-group">
<label class="col-sm-2 control-label">Stock Status:</label>
<div class="col-lg-offset-2 col-lg-10">
<button class="btn btn-sm btn-white" type="submit" >Submit</button>
</div>
</form>
</div>
</uib-tab>
</uib-tabset>
I just made use uib-tabset default attributes for show hide , so we just don't require ng-click="selectTab($index)" as it is used in below line
<uib-tab role="presentation" ng-repeat="tab in tabs" ng-click="selectTab($index)" ng-class="{'active':selectedTab == $index}" ng-if="tab.display">
I used <uib-tabset active="active"> as it automatically creates the corresponding dom elements. refer below code. Also, created one plunkr for it https://plnkr.co/edit/QxcOyFir8oYS53asDlMN?p=preview
<uib-tabset active="active" >
<uib-tab role="presentation" ng-repeat="tab in tabs" heading="{{tab.title}}" >
<uib-tab-heading>
<a data-target="#tab" role="tab" data-toggle="tab">{{tab.title}} <span class="glyphicon glyphicon-remove"></span></a>
</uib-tab-heading>
<div class="panel-body">
<form ng-submit="addattributevalues()">
<div class="form-group">
<label class="col-sm-2 control-label">Regular Price:</label>
<div class="col-sm-10">
<input type="text" class="form-control" ng-model="obj.regularPrice">
</div>
</div>
<div class="form-group">
<label class="col-sm-2 control-label">Sale Price:</label>
<div class="col-sm-10">
<input type="text" class="form-control" ng-model="obj.salePrice" >
</div>
</div>
<div class="form-group">
<label class="col-sm-2 control-label">Purchase Price:</label>
<div class="col-sm-10">
<input type="text" class="form-control" ng-model="obj.purchasePrice">
</div>
</div>
<div class="form-group">
<label class="col-sm-2 control-label">Stock Status:</label>
<div class="col-lg-offset-2 col-lg-10">
<button class="btn btn-sm btn-white" type="submit" >Submit</button>
</div>
</div>
</form>
</div>
</uib-tab>
</uib-tabset>
Hope this solves your problem. Here, different form get different data. Data inserted in one form is not overwritten to another.

Why is bootstrap form and pannel overlapping?

I am using bootstrap and I have a div panel and after it a form, and I have this same structured element twice. The form and the panel dive after it are overlapping. Here is my html:
<div class="comment">
<div class="panel panel-default">
<div class="panel-heading">
user1
</div>
<div class="panel-body">
test comment
</div>
<div class="panel-footer">
<ul class="list-inline">
<li id="reply">reply</li>
<li id="expand"> expand</li>
</ul>
</div>
</div>
<form class="form col-xs-4" id="commentForm" action="comment.php" method="post" style="display:">
<div class="form-group">
<label for="name">Name:</label>
<input type="text" class="form-control" id="name" />
</div>
<div class="form-group">
<label for="comment">Comment:</label>
<textarea class="form-control" id="comment"></textarea>
</div>
<div class="form-group">
<input type="submit" value="Submit Comment" />
</div>
</form>
</div>
<div class="comment">
<div class="panel panel-default">
<div class="panel-heading">
user 2
</div>
<div class="panel-body">
test comment
</div>
<div class="panel-footer">
<ul class="list-inline">
<li id="reply">reply</li>
<li id="expand"> expand</li>
</ul>
</div>
</div>
<form class="form col-xs-4" id="commentForm" action="comment.php" method="post" style="display:">
<div class="form-group">
<label for="name">Name:</label>
<input type="text" class="form-control" id="name" />
</div>
<div class="form-group">
<label for="comment">Comment:</label>
<textarea class="form-control" id="comment"></textarea>
</div>
<div class="form-group">
<input type="submit" value="Submit Comment" />
</div>
</form>
</div>
and here is a fiddle to see what I mean by overlapping
I want the the width of the form to be limited, that is why i put class="form col-xs-4"
Use class="row" before use bootstrap col-*-* class
your code like
<div id="comment">
<div class="panel panel-default">
<div class="panel-heading">
user1
</div>
<div class="panel-body">
test comment
</div>
<div class="panel-footer">
<ul class="list-inline">
<li id="reply">reply</li>
<li id="expand"> expand</li>
</ul>
</div>
</div>
<div class="row">
<form class="form col-xs-4" id="commentForm" action="comment.php" method="post" style="display:">
<div class="form-group">
<label for="name">Name:</label>
<input type="text" class="form-control" id="name" />
</div>
<div class="form-group">
<label for="comment">Comment:</label>
<textarea class="form-control" id="comment"></textarea>
</div>
<div class="form-group">
<input type="submit" value="Submit Comment" />
</div>
</form>
</div>
</div>
<div id="comment">
<div class="panel panel-default">
<div class="panel-heading">
user 2
</div>
<div class="panel-body">
test comment
</div>
<div class="panel-footer">
<ul class="list-inline">
<li id="reply">reply</li>
<li id="expand"> expand</li>
</ul>
</div>
</div>
<div class="row">
<form class="form col-xs-4" id="commentForm" action="comment.php" method="post" style="display:">
<div class="form-group">
<label for="name">Name:</label>
<input type="text" class="form-control" id="name" />
</div>
<div class="form-group">
<label for="comment">Comment:</label>
<textarea class="form-control" id="comment"></textarea>
</div>
<div class="form-group">
<input type="submit" value="Submit Comment" />
</div>
</form>
</div>
</div>
your form is not in the right div. You put it after the footer of the first panel and before the following panel.
This solves it :
<div id="main">
<div class="panel panel-default">
<div class="panel-heading">
user1
</div>
<div class="panel-body">
<form class="form col-xs-4" id="commentForm" action="comment.php" method="post" style="display:">
<div class="form-group">
<label for="name">Name:</label>
<input type="text" class="form-control" id="name" />
</div>
<div class="form-group">
<label for="comment">Comment:</label>
<textarea class="form-control" id="comment"></textarea>
</div>
<div class="form-group">
<input type="submit" value="Submit Comment" />
</div>
</form>
</div>
<div class="panel-footer">
<ul class="list-inline">
<li id="reply">reply</li>
<li id="expand"> expand</li>
</ul>
</div>
</div>
</div>
<div id="comment">
<div class="panel panel-default">
<div class="panel-heading">
user 2
</div>
<div class="panel-body">
<form class="form col-xs-4" id="commentForm" action="comment.php" method="post" style="display:">
<div class="form-group">
<label for="name">Name:</label>
<input type="text" class="form-control" id="name" />
</div>
<div class="form-group">
<label for="comment">Comment:</label>
<textarea class="form-control" id="comment"></textarea>
</div>
<div class="form-group">
<input type="submit" value="Submit Comment" />
</div>
</form>
</div>
<div class="panel-footer">
<ul class="list-inline">
<li id="reply">reply</li>
<li id="expand"> expand</li>
</ul>
</div>
</div>
</div>
Be also careful, you had several div with the same id and this is not viable.
Please see Updated code.
https://jsfiddle.net/v5da7qeq/2/
Hope this will work !
If you opt for a full width form layout you can just remove the col-xs-4 class from your forms.
<form class="form" id="commentForm" action="comment.php" method="post" style="display:">
https://jsfiddle.net/Neviton/v5da7qeq/4/

Want this form in perfectly center

<form class="form-horizontal" role="form" id="contactf" action="http://titan.csit.rmit.edu.au/~e54061/wp/form-tester.php" method="post">
<div class="form-group">
<label class="control-label col-sm-2 lb" for="email">Email : </label>
<div class="col-sm-6">
<input type="email" class="form-control" id="email" name="email" placeholder="Enter email" required>
</div>
</div>
<div class="form-group">
<label class="control-label col-sm-2" for="pwd">Subject : </label>
<div class="col-sm-6">
<select class="form-control col-sm-6 lb" id="subj" name="subject" required>
<option>General queries</option>
<option>Group and corporate bookings</option>
<option>Suggestion and complaints</option>
</select>
</div>
</div>
<div class="form-group">
<label class="control-label col-sm-2 lb" for="pwd">Message : </label>
<div class="col-sm-6">
<div class="checkbox">
<textarea class="form-control" id="message" name="message" required></textarea>
</div>
</div>
</div>
<div class="form-group">
<div class="col-sm-offset-4 col-sm-6">
<button type="submit" class="btn btn-success">Submit</button>
</div>
</div>
</form>
This is my form. It works fine. the thing is i am using bootstrap and i want everything in the perfect center responsive to the screen size. Please help me with this. Thanks!
I don't know, whether i m saying correct or not.
If we use css like,
text-align:center;
It will be affected align center both vertically and horizontally.
So there is no css for particular vertical align center.
you need to change dropdown text and other
<div class="panel panel-warning mypanel">
<div class="panel-heading">
<h3 class="panel-title">Panel title</h3>
</div>
<div class="panel-body">
<form class="form-horizontal" role="form">
<div class="form-group">
<label for="firstname" class="col-sm-2 control-label">Email</label>
<div class="col-sm-10">
<input type="text" class="form-control" id="firstname"
placeholder="Enter First Name">
</div>
</div>
<div class="form-group">
<label for="lastname" class="col-sm-2 control-label">Subject</label>
<div class="col-sm-10">
<div class="dropdown">
<button type="button" class="btn dropdown-toggle" id="dropdownMenu1"
data-toggle="dropdown">
Topics
<span class="caret"></span>
</button>
<ul class="dropdown-menu" role="menu" aria-labelledby="dropdownMenu1">
<li role="presentation">
<a role="menuitem" tabindex="-1" href="#">Java</a>
</li>
<li role="presentation">
<a role="menuitem" tabindex="-1" href="#">Data Mining</a>
</li>
<li role="presentation">
<a role="menuitem" tabindex="-1" href="#">
Data Communication/Networking
</a>
</li>
<li role="presentation" class="divider"></li>
<li role="presentation">
<a role="menuitem" tabindex="-1" href="#">Separated link</a>
</li>
</ul>
</div>
</div>
</div>
<div class="form-group">
<label for="firstname" class="col-sm-2 control-label">Email</label>
<div class="col-sm-10">
<input type="text" class="form-control" id="firstname"
placeholder="Enter First Name">
</div>
</div>
<div class="form-group">
<div class="col-sm-offset-2 col-sm-10">
<button type="submit" class="btn btn-default">Sign in</button>
</div>
</div>
</form>
</div>
</div>

Bootstrap 3 panel header pull-right buttons to create advance search

I want to use bootstrap panel to create advance search design.
Like in this image:
My HTML is this:
<div class="panel panel-primary aplxpert-distanta-sus" id="Antet">
<div class="panel-heading clearfix">
<h3 class="panel-title pull-left aplxpert-distanta-sus">Test List</h3>
<div class="btn-group pull-right">
<div class="row form-inline">
<div class="form-group col-sm-12">
<label class="col-sm-2 control-label aplxpert-distanta-sus" for="Nume">Search:</label>
<div class="col-sm-8">
<div class="input-group">
<input type="text" class="form-control input-sm" placeholder="name......" id="cauta">
<span class="input-group-btn">
<button title="Click for search" type="button" class="btn btn-info btn-sm">
<i class="glyphicon glyphicon-search"></i>
</button>
</span>
</div>
</div>
<div class="col-sm-1">
<a title="Advance Search" data-toggle="collapse" data-parent="#accordion" href="#collapseOne" class="btn btn-default btn-sm">
<i class="glyphicon glyphicon-chevron-down"></i>
</a>
</div>
</div>
</div>
</div>
</div>
<div id="collapseOne" class="panel-body panel-collapse collapse">
<div class="row">
<div class="col-sm-3">
<div class="form-group">
<label for="Nume" class="control-label">Nume:</label>
<input type="text" name="Nume" id="Nume" class="form-control input-sm">
</div>
<div class="form-group">
<label for="Prenume" class="control-label">Prenume:</label>
<input type="text" name="Prenume" id="Prenume" class="form-control input-sm">
</div>
</div>
<div class="col-sm-3">
<div class="form-group">
<label for="Nume" class="control-label">Nume aa:</label>
<input type="text" name="Nume" id="Nume" class="form-control input-sm">
</div>
<div class="form-group">
<label for="Prenume" class="control-label">Prenume aa:</label>
<input type="text" name="Prenume" id="Prenume" class="form-control input-sm">
</div>
</div>
<div class="col-sm-3">
<div class="form-group">
<label for="Nume" class="control-label">Nume bb:</label>
<input type="text" name="Nume" id="Nume" class="form-control input-sm">
</div>
<div class="form-group">
<label for="Prenume" class="control-label">Prenume bb:</label>
<input type="text" name="Prenume" id="Prenume" class="form-control input-sm">
</div>
</div>
<div class="col-sm-3">
<div class="form-group">
<label for="Nume" class="control-label">Nume cc:</label>
<input type="text" name="Nume" id="Nume" class="form-control input-sm">
</div>
<div class="form-group">
<label for="Prenume" class="control-label">Prenume cc:</label>
<input type="text" name="Prenume" id="Prenume" class="form-control input-sm">
</div>
</div>
</div>
</div>
<div class="panel-footer">
<strong>Result return for this criterias:</strong> nume: Popescu Ion, data: 04.05.2014, CNP: 1361813282206
</div>
</div>
Something like this: http://jsfiddle.net/nkS2e/4/
How i can do this more better because on resize not work good and in not the best way.

Tab options does not work correctly

<div class="" id="loginModal">
<div class="modal-header">
<h3>Have an Account?</h3>
</div>
<div class="modal-body">
<div class="well">
<ul class="nav nav-tabs">
<li class="active">Login</li>
<li>Create Account</li>
<li>Login as admin</li>
</ul>
<div id="myTabContent" class="tab-content">
<div class="tab-pane active in" id="login">
<form class="form-horizontal" action='' method="POST">
<fieldset>
<div id="legend">
<legend class="">Login</legend>
</div>
<div class="control-group">
<!-- Username -->
<label class="control-label" for="username"></label>
<div class="controls">
<input type="text" id="username" name="username" placeholder="Username" class="input-xlarge">
</div>
</div>
<div class="control-group">
<!-- Password-->
<label class="control-label" for="password"></label>
<div class="controls">
<input type="password" id="password" name="password" placeholder="Password" class="input-xlarge">
</div>
</div>
<div class="control-group">
<!-- Button -->
<div class="controls">
<button class="btn btn-primary">Login</button>
</div>
</div>
</fieldset>
</form>
</div>
<div class="tab-pane fade" id="admin">
<form class="form-horizontal" action='' method="POST">
<fieldset>
<div id="legend">
<legend class="">Sign as admin</legend>
</div>
<div class="control-group">
<!-- Username -->
<label class="control-label" for="username"></label>
<div class="controls">
<input type="text" id="adminname" name="adminname" placeholder="Username" class="input-xlarge">
</div>
</div>
<div class="control-group">
<!-- Password-->
<label class="control-label" for="password"></label>
<div class="controls">
<input type="password" id="adminpassword" name="adminpassword" placeholder="Password" class="input-xlarge">
</div>
</div>
<div class="control-group">
<!-- Button -->
<div class="controls">
<button class="btn btn-primary">Login</button>
</div>
</div>
</fieldset>
</form>
</div>
<div class="tab-pane fade" id="create">
<form id="tab">
<label>Username</label>
<input type="text" value="" class="input-xlarge">
<label>First Name</label>
<input type="text" value="" class="input-xlarge">
<label>Last Name</label>
<input type="text" value="" class="input-xlarge">
<label>Email</label>
<input type="text" value="" class="input-xlarge">
<label>Address</label>
<textarea value="Smith" rows="3" class="input-xlarge">
</textarea>
<div>
<button class="btn btn-primary">Create Account</button>
</div>
</form>
</div>
</div>
</div>
</div>
In this code i have three tabs ( login,create account and login as admin) last of this it isn't working. When i click on Login as admin tab nothing appears. I don't get where is the problem, why the tab is not working, can anybody help me with a solution?