anchor.diff:  extends layout
   
   block content
  +	//- View User
  +	script(type="text/template", class="viewUser")
  +		div.row
  +			div(class="col-lg-12 col-md-12 col-sm-12 col-xs-12")
  +				h3 <%= name %>
  +					div.btn-group.pull-right
  +						a(href="#", class="btn btn-success dropdown-toggle", data-toggle="dropdown") Actions
  +							span.caret
  +						ul(role="menu").dropdown-menu
  +							li
  +								<a href="#users/edit/<%= id %>">Edit</a>
  +							li
  +								<a href="#users/delete/<%= id %>">Delete</a>
  +				hr
  +				div(class="col-lg-9 col-md-9 col-sm-9 col-xs-12")
  +					div.row
  +						div.form-group
  +							label Name:
  +							p <%= name %>
  +						div.form-group
  +							label Email:  
  +							p <%= email %>
  +						div.form-group
  +							label Created:  
  +							p <%= created %>
  +
  +	//- add user
   	script(type="text/template", class="addUser")
   		div.row
  -			div(class="col-lg-6")
  +			div(class="col-lg-12 col-md-12 col-sm-12 col-xs-12")
   				h3 Add user
  +				hr
   				form(role="form").well
   					div.form-group
   						label Name
  
positive.code: 						input(type="password", name="password", class="form-control", id="password")
  						span.help-block Password
  					button(type="submit", class="btn btn-primary", id="submit") Save
  	script(type="text/template", class="editUser")
  		div.row
  			div(class="col-lg-6")
  				h3 Add server
  				form(role="form").well
  					div.form-group
  						label Name
  
negative.code: 						span.help-block Email
  					div.form-group
  						label Password
  						<input type="password" name="password" class="form-control" id="password" />
  						span.help-block Password
  					button(type="submit", class="btn btn-primary", id="submit") Update
  	
  	//- delete user
  	script(type="text/template", class="deleteUser")
  		div.row
  			div(class="col-lg-12 col-md-12 col-sm-12 col-xs-12")
  				h3 Delete user: <%= name %>
  				hr
  				div.well
  					h4 Are you sure you want to delete the user <%= name %>?
  					br
  					div.btn-group
  						button(type="submit", id="submit").btn.btn-danger Confirm delete
  						<a href="users#users/<%= id %>" class="btn btn-primary">Cancel</a>
  
  	//- list users
  	script(type="text/template", class="listUsers")
  		div.row
  			div(class="col-lg-9 col-md-9 col-sm-12 col-xs-12")
  				table.table.table-hover.table-striped
  					thead
  						th.col-lg-3.col-sm-3.col-md-3.col-xs-3 Name
  						th.col-lg-8.col-sm-8.col-md-8.col-xs-8 Email
  						th.col-lg-1.col-sm-1.col-md-1.col-xs-1
  					tbody
  						<% _.each(items, function(item) { %>
  						tr.item
  							td <%= item.name %>
  							td <%= item.email %>
  							td 
  								<a href="#users/<%= item.id %>" class="btn btn-default">View</a>
  						<% }) %>
  
  	div#page
  		div#header
  			div.container
  				div.col-lg-12.col-md-12.col-sm-12.col-xs-12
  					div.row
  						h1= title
  							div.pull-right
  								a(href="#users/add").btn.btn-primary Add user
  						br
  				div(class="col-lg-12 col-md-12 col-sm-12 col-xs-12")
  					div.row
  						div#messages
  						div#content
  block scripts
  	script(type="text/javascript", src="javascripts/app/models/Models.js");
  	script(type="text/javascript", src="javascripts/app/collections/Collections.js");
  