Advertisement
AGE1985

rails users view

Dec 21st, 2014
274
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.83 KB | None | 0 0
  1.  
  2. <!DOCTYPE html>
  3. <!--
  4. Template Name: Metronic - Responsive Admin Dashboard Template build with Twitter Bootstrap 3.3.0
  5. Version: 3.3.0
  6. Author: KeenThemes
  7. Website: http://www.keenthemes.com/
  8. Contact: support@keenthemes.com
  9. Follow: www.twitter.com/keenthemes
  10. Like: www.facebook.com/keenthemes
  11. Purchase: http://themeforest.net/item/metronic-responsive-admin-dashboard-template/4021469?ref=keenthemes
  12. License: You must have a valid license purchased only from themeforest(the above link) in order to legally use the theme for your project.
  13. -->
  14. <!--[if IE 8]> <html lang="en" class="ie8 no-js"> <![endif]-->
  15. <!--[if IE 9]> <html lang="en" class="ie9 no-js"> <![endif]-->
  16. <!--[if !IE]><!-->
  17. <html lang="en">
  18. <!--<![endif]-->
  19. <!-- BEGIN HEAD -->
  20. <head>
  21. <meta charset="utf-8"/>
  22. <title>Metronic | Registration - Registration Form 1</title>
  23. <meta http-equiv="X-UA-Compatible" content="IE=edge">
  24. <meta content="width=device-width, initial-scale=1.0" name="viewport"/>
  25. <meta http-equiv="Content-type" content="text/html; charset=utf-8">
  26. <meta content="" name="description"/>
  27. <meta content="" name="author"/>
  28. <!-- BEGIN GLOBAL MANDATORY STYLES -->
  29. <link href="http://fonts.googleapis.com/css?family=Open+Sans:400,300,600,700&subset=all" rel="stylesheet" type="text/css"/>
  30. <link href="../../assets/global/plugins/font-awesome/css/font-awesome.min.css" rel="stylesheet" type="text/css"/>
  31. <link href="../../assets/global/plugins/simple-line-icons/simple-line-icons.min.css" rel="stylesheet" type="text/css"/>
  32. <link href="../../assets/global/plugins/bootstrap/css/bootstrap.min.css" rel="stylesheet" type="text/css"/>
  33. <link href="../../assets/global/plugins/uniform/css/uniform.default.css" rel="stylesheet" type="text/css"/>
  34. <!-- END GLOBAL MANDATORY STYLES -->
  35. <!-- BEGIN PAGE LEVEL STYLES -->
  36. <link href="../../assets/admin/pages/css/login.css" rel="stylesheet" type="text/css"/>
  37. <!-- END PAGE LEVEL SCRIPTS -->
  38. <!-- BEGIN THEME STYLES -->
  39. <link href="../../assets/global/css/components.css" id="style_components" rel="stylesheet" type="text/css"/>
  40. <link href="../../assets/global/css/plugins.css" rel="stylesheet" type="text/css"/>
  41. <link href="../../assets/admin/layout/css/layout.css" rel="stylesheet" type="text/css"/>
  42. <link href="../../assets/admin/layout/css/themes/default.css" rel="stylesheet" type="text/css" id="style_color"/>
  43. <link href="../../assets/admin/layout/css/custom.css" rel="stylesheet" type="text/css"/>
  44. <!-- END THEME STYLES -->
  45. <link rel="shortcut icon" href="favicon.ico"/>
  46. </head>
  47. <!-- END HEAD -->
  48. <!-- BEGIN BODY -->
  49. <body class="login">
  50. <!-- BEGIN SIDEBAR TOGGLER BUTTON -->
  51. <div class="menu-toggler sidebar-toggler">
  52. </div>
  53. <!-- END SIDEBAR TOGGLER BUTTON -->
  54. <!-- BEGIN LOGO -->
  55. <div class="logo">
  56. <a href="index.html">
  57. <img src="../../assets/admin/layout2/img/logo-big.png" alt=""/>
  58. </a>
  59. </div>
  60. <!-- END LOGO -->
  61. <!-- BEGIN LOGIN -->
  62. <div class="content">
  63. <!-- BEGIN LOGIN FORM -->
  64. <form class="login-form" action="index.html" method="post">
  65. <h3 class="form-title">Registrieren</h3>
  66. <div class="alert alert-danger display-hide">
  67. <button class="close" data-close="alert"></button>
  68. <span>
  69. Enter E-Mail & Passwort. </span>
  70. </div>
  71. <div class="form-group">
  72.  
  73. <%= form_for @user do |f| %>
  74. <% if @user.errors.any? %>
  75. <div class="error_messages">
  76. <h2>Form is invalid</h2>
  77. <ul>
  78. <% for message in @user.errors.full_messages %>
  79. <li><%= message %></li>
  80. <% end %>
  81. </ul>
  82. </div>
  83. <% end %>
  84. <div class="form-group">
  85. <%= f.label :email, :class =>"control-label visible-ie8 visible-ie9" %>
  86. <%= f.text_field :email, :class => "form-control form-control-solid placeholder-no-fix", :placeholder =>"E-Mail"%>
  87. </div>
  88. <div class="form-group">
  89. <%= f.label :password, :class =>"control-label visible-ie8 visible-ie9" %>
  90. <%= f.password_field :password, :class => "form-control form-control-solid placeholder-no-fix", :placeholder =>"Passwort" %>
  91. </div>
  92. <div class="form-group">
  93. <%= f.label :password_confirmation, :class =>"control-label visible-ie8 visible-ie9" %>
  94. <%= f.password_field :password_confirmation, :class => "form-control form-control-solid placeholder-no-fix", :placeholder =>"Passwortbestätigung" %>
  95. </div>
  96. <div class="form-group margin-top-20 margin-bottom-20">
  97. <label class="check">
  98. <input type="checkbox" name="tnc"/> I agree to the <a href="#">
  99. Terms of Service </a>
  100. & <a href="#">
  101. Privacy Policy </a>
  102. </label>
  103. <div id="register_tnc_error">
  104. </div>
  105. </div>
  106. <div class="form-actions"> <button type="button" id="register-back-btn" class="btn btn-default">Back</button><%= f.submit 'Benutzer erstellen', :id => "register-submit-btn", :class => "btn btn-success uppercase pull-right" %></div>
  107. <% end %>
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116. </form>
  117. <!-- END REGISTRATION FORM -->
  118. </div>
  119. <div class="copyright">
  120. 2014 © Metronic. Admin Dashboard Template.
  121. </div>
  122. <!-- END LOGIN -->
  123. <!-- BEGIN JAVASCRIPTS(Load javascripts at bottom, this will reduce page load time) -->
  124. <!-- BEGIN CORE PLUGINS -->
  125. <!--[if lt IE 9]>
  126. <script src="../../assets/global/plugins/respond.min.js"></script>
  127. <script src="../../assets/global/plugins/excanvas.min.js"></script>
  128. <![endif]-->
  129. <script src="../../assets/global/plugins/jquery.min.js" type="text/javascript"></script>
  130. <script src="../../assets/global/plugins/jquery-migrate.min.js" type="text/javascript"></script>
  131. <script src="../../assets/global/plugins/bootstrap/js/bootstrap.min.js" type="text/javascript"></script>
  132. <script src="../../assets/global/plugins/jquery.blockui.min.js" type="text/javascript"></script>
  133. <script src="../../assets/global/plugins/uniform/jquery.uniform.min.js" type="text/javascript"></script>
  134. <script src="../../assets/global/plugins/jquery.cokie.min.js" type="text/javascript"></script>
  135. <!-- END CORE PLUGINS -->
  136. <!-- BEGIN PAGE LEVEL PLUGINS -->
  137. <script src="../../assets/global/plugins/jquery-validation/js/jquery.validate.min.js" type="text/javascript"></script>
  138. <!-- END PAGE LEVEL PLUGINS -->
  139. <!-- BEGIN PAGE LEVEL SCRIPTS -->
  140. <script src="../../assets/global/scripts/metronic.js" type="text/javascript"></script>
  141. <script src="../../assets/admin/layout/scripts/layout.js" type="text/javascript"></script>
  142. <script src="../../assets/admin/layout/scripts/demo.js" type="text/javascript"></script>
  143. <script src="../../assets/admin/pages/scripts/login.js" type="text/javascript"></script>
  144. <!-- END PAGE LEVEL SCRIPTS -->
  145. <script>
  146. jQuery(document).ready(function() {
  147. Metronic.init(); // init metronic core components
  148. Layout.init(); // init current layout
  149. Login.init();
  150. Demo.init();
  151. });
  152. </script>
  153. <!-- END JAVASCRIPTS -->
  154. </body>
  155. <!-- END BODY -->
  156. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement