diff --git a/public/js/map.js b/public/js/map.js new file mode 100644 index 0000000..ae168ad --- /dev/null +++ b/public/js/map.js @@ -0,0 +1,7 @@ + + +// initialize the map on the "map" div with a given center and zoom +var map = L.map('map', { + center: [51.505, -0.09], + zoom: 13 +}); diff --git a/src/Form/UserAppType.php b/src/Form/UserAppType.php index dbd2033..3af7796 100644 --- a/src/Form/UserAppType.php +++ b/src/Form/UserAppType.php @@ -13,7 +13,6 @@ class UserAppType extends AbstractType { $builder ->add('nickname') - ->add('roles') ->add('password') ->add('firstName') ->add('lastName') diff --git a/templates/degree/edit.html.twig b/templates/degree/edit.html.twig index 48cd886..d559be7 100644 --- a/templates/degree/edit.html.twig +++ b/templates/degree/edit.html.twig @@ -17,7 +17,6 @@ -
Id | -Nickname | -Roles | -Password | -FirstName | -LastName | -Tel | -Address | -actions | -|
---|---|---|---|---|---|---|---|---|---|
{{ user_app.id }} | -{{ user_app.nickname }} | -{{ user_app.roles ? user_app.roles|json_encode : '' }} | -{{ user_app.password }} | -{{ user_app.firstName }} | -{{ user_app.lastName }} | -{{ user_app.tel }} | -{{ user_app.address }} | -{{ user_app.mail }} | -- show - edit - | -
no records found | -
ID | +Nickname | +FirstName | +LastName | +Actions | +|
---|---|---|---|---|---|
{{ user_app.id }} | +{{ user_app.nickname }} | +{{ user_app.firstName }} | +{{ user_app.lastName }} | +{{ user_app.mail }} | ++ + Voir + - Create new + + Modifier + + + + | +
Aucun utilisateur trouvé | +
Id | -{{ user_app.id }} | -
---|---|
Nickname | -{{ user_app.nickname }} | -
Roles | -{{ user_app.roles ? user_app.roles|json_encode : '' }} | -
Password | -{{ user_app.password }} | -
FirstName | -{{ user_app.firstName }} | -
LastName | -{{ user_app.lastName }} | -
Tel | -{{ user_app.tel }} | -
Address | -{{ user_app.address }} | -
{{ user_app.mail }} | -
ID | +{{ user_app.id }} | +
---|---|
Nom | +{{ user_app.lastName }} | +
Prénom | +{{ user_app.firstName }} | +
Téléphone | +{{ user_app.tel }} | +
Adresse | +{{ user_app.address }} | +
{{ user_app.mail }} | +