--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/src/main/webapp/project/form.html Tue Jun 05 15:40:45 2012 +0200
@@ -0,0 +1,31 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ <meta content="text/html; charset=UTF-8" http-equiv="content-type" />
+ <title>Entity View</title>
+ </head>
+ <body class="lift:content_id=main">
+ <div id="main" class="lift:surround?with=default;at=content">
+ <head_merge>
+ <script type="text/javascript">
+ $(document).ready(function() {
+ $('.company-field').toggle($('#create_new_company').is(':checked'));
+ $('.company-select').toggle(!$('#create_new_company').is(':checked'));
+ $('#create_new_company').bind('change', function() {
+ $('.company-field').toggle($(this).is(':checked'));
+ $('.company-select').toggle(!$(this).is(':checked'));
+ });
+ });
+ </script>
+ </head_merge>
+
+ <div class="row">
+ <div class="span12">
+ <span class="lift:form"></span>
+ </div>
+ </div> <!-- /row -->
+ </div>
+ </body>
+</html>
+
+