blob: 35a1b1ec809809a1768944c9c447701e30330695 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
|
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title><?=SITE_TITLE?> - Ενημέρωση στοιχείων</title>
<?php // header includes
////////////////////////////////////////////////////////////////////////
Render::view('components/header_includes');
?>
</head>
<body class="office central-form">
<div class='container'>
<div class="content max540px">
<div class='content-form'>
<form method="post">
<div>
<h4>Ενημέρωση στοιχείων</h4>
<hr/>
<?=$form['html']?>
<br />
<button type="submit" class="btn btn-primary btn-sm col-12">Ενημέρωση</button>
</div>
</form>
</div>
</div>
</div>
</body>
<script>// initialize needed global variables
var values = {};
var empty = '';
</script>
<?php // include select2 supplementary functions
////////////////////////////////////////////////////////////////////////////
Render::view('js/select2-supplementary');
?>
<script>
$(document).ready(function() {
// intializations from form-definition
////////////////////////////////////////////////////////////////////////////
<?=$form['init_js']?>
// set known values
////////////////////////////////////////////////////////////////////////////
<?=$form['values_js']?>
});
</script>
<?php // handle form submition
////////////////////////////////////////////////////////////////////////////
Render::view('js/submit/invitation-form');
?>
</html>
|