I have an static web page that I want into my rails app. The problem is that I don't know how to get the css and js imports to work correctly.
When I load the html directly into the browser it works perfectly but when I run it on the server it lacks some components.
I would like to know where to put and how to reference the js and css resources. I also would like to know which helper methods I would need in this code:
<!DOCTYPE html>
<!--[if IE 8]><html class="ie ie8" lang="en-US"><![endif]-->
<html lang="en">
<head>
<meta charset="utf-8">
<title>Login | eatbooking.com</title>
<meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, user-scalable=0, width=device-width;"/>
<meta name="format-detection" content="telephone=no">
<meta name="description" content="">
<link rel="shortcut icon" href="favicon.ico"/>
<link href='http://fonts.googleapis.com/css?family=Roboto:400,100,300,500,700' rel='stylesheet' type='text/css'>
<link href="css/bootstrap.css" rel="stylesheet">
<link href="css/import.css" rel="stylesheet">
<!--[if lt IE 9]>
<script src="js/html5shiv.js"></script>
<script src="js/respond.min.js"></script>
<![endif]-->
</head>
<body>
<section class="content">
<div class="container">
<div class="row">
<div class="col-sm-12">
<div class="popup-outer-container client-form login">
<div class="popup-header">
<a href="#"><img src="images/logo.png" alt="Logo"></a>
</div>
<div class="popup-content">
<div class="popup-content-top">
<div class="alert-message">
<p>Validation error.</p>
</div>
<div class="input-box">
<input type="text" placeholder="EMAIL">
</div>
<div class="input-box">
<input type="text" placeholder="CONTRASEÑA">
</div>
<div class="check-box">
<input tabindex="1" type="checkbox" id="input-1">
<label for="input-1">Remember me</label>
</div>
<div class="forgot-password">
<a href="#">¿Recordar contraseña?</a>
</div>
<div class="order-row">
<div class="save-button">
<input type="submit" value="Entrar">
</div>
</div>
</div>
</div>
<div class="popup-content-bottom">
<span>¿Todavía no tiene cuenta?.</span>
<a href="#">Alta gratis.</a>
</div>
</div>
</div>
</div>
</div>
</section>
<!--javascript start -->
<script src="js/jquery.min.js"></script>
<script src="js/bootstrap.js"></script>
<script src="js/icheck.js"></script>
<script src="js/jquery.bpopup.min.js"></script>
<script src="js/selectbox.min.js"></script>
<script src="js/main.js"></script>
</body>
</html>