aboutsummaryrefslogtreecommitdiffstats
path: root/jm2l/templates/edit_tiers_categ.mako
diff options
context:
space:
mode:
authortr4ck3ur <tr4ck3ur@style-python.fr>2015-02-14 12:01:04 +0100
committertr4ck3ur <tr4ck3ur@style-python.fr>2015-02-14 12:01:04 +0100
commit12d69abf83685d70030f06a203983f1298ae534a (patch)
tree686a7e005afb5fa4045c10b9861353eb410d3b55 /jm2l/templates/edit_tiers_categ.mako
parentbf7fdc00bfecee47a3d5025de077bb0640dd3146 (diff)
downloadjm2l-12d69abf83685d70030f06a203983f1298ae534a.tar.gz
jm2l-12d69abf83685d70030f06a203983f1298ae534a.tar.bz2
jm2l-12d69abf83685d70030f06a203983f1298ae534a.tar.xz
jm2l-12d69abf83685d70030f06a203983f1298ae534a.zip
Fix all last changes for pre-production test
Diffstat (limited to 'jm2l/templates/edit_tiers_categ.mako')
-rw-r--r--jm2l/templates/edit_tiers_categ.mako27
1 files changed, 14 insertions, 13 deletions
diff --git a/jm2l/templates/edit_tiers_categ.mako b/jm2l/templates/edit_tiers_categ.mako
index ba2df09..34795a0 100644
--- a/jm2l/templates/edit_tiers_categ.mako
+++ b/jm2l/templates/edit_tiers_categ.mako
@@ -1,7 +1,20 @@
<%inherit file="jm2l:templates/layout.mako"/>
<%namespace name="helpers" file="jm2l:templates/helpers.mako"/>
<%def name="jsAddOn()">
- <script src="/vendor/repeatable-fields/js/repeatable-fields.js"></script>
+ <script src="/vendor/repeatable-fields/js/repeatable-fields.js"></script>
+<script type="text/javascript">
+jQuery(function() {
+ jQuery('.repeat').each(function() {
+ jQuery(this).repeatable_fields({
+ wrapper: 'table',
+ container: 'tbody',
+ row: 'tr',
+ cell: 'td',
+ });
+ });
+});
+</script>
+
</%def>
<h2>Gestion des catégories pour les entités</h2>
@@ -101,15 +114,3 @@
<input type="submit" class="btn btn-primary" value="Enregistrer les modifications" />
</form>
-<script type="text/javascript">
-jQuery(function() {
- jQuery('.repeat').each(function() {
- jQuery(this).repeatable_fields({
- wrapper: 'table',
- container: 'tbody',
- row: 'tr',
- cell: 'td',
- });
- });
-});
-</script>