diff --git a/Controller/ActivityReasonController.php b/Controller/ActivityReasonController.php
index a76221704..6afeceac7 100644
--- a/Controller/ActivityReasonController.php
+++ b/Controller/ActivityReasonController.php
@@ -45,7 +45,7 @@ class ActivityReasonController extends AbstractController
$em->persist($entity);
$em->flush();
- return $this->redirect($this->generateUrl('chill_activity_activityreason_show', array('id' => $entity->getId())));
+ return $this->redirect($this->generateUrl('chill_activity_activityreason', array('id' => $entity->getId())));
}
return $this->render('ChillActivityBundle:ActivityReason:new.html.twig', array(
@@ -167,7 +167,7 @@ class ActivityReasonController extends AbstractController
if ($editForm->isValid()) {
$em->flush();
- return $this->redirect($this->generateUrl('chill_activity_activityreason_edit', array('id' => $id)));
+ return $this->redirect($this->generateUrl('chill_activity_activityreason', array('id' => $id)));
}
return $this->render('ChillActivityBundle:ActivityReason:edit.html.twig', array(
diff --git a/Resources/views/ActivityReason/edit.html.twig b/Resources/views/ActivityReason/edit.html.twig
index 11d9ef074..e8baab4bd 100644
--- a/Resources/views/ActivityReason/edit.html.twig
+++ b/Resources/views/ActivityReason/edit.html.twig
@@ -23,14 +23,15 @@
{{ form_row(edit_form.name) }}
{{ form_row(edit_form.active) }}
{{ form_row(edit_form.category) }}
- {{ form_row(edit_form.submit, { 'attr': { 'class' : 'sc-button orange' } } ) }}
- {{ form_end(edit_form) }}
-
+
+
+ {{ form_end(edit_form) }}
{% endblock %}
diff --git a/Resources/views/ActivityReason/index.html.twig b/Resources/views/ActivityReason/index.html.twig
index 588c4b45b..99aa1bfa7 100644
--- a/Resources/views/ActivityReason/index.html.twig
+++ b/Resources/views/ActivityReason/index.html.twig
@@ -31,12 +31,12 @@
| {{ entity.name|localize_translatable_string }} |
- |
@@ -45,9 +45,9 @@
-
+
-
-
+
{{ 'Create a new activity reason'|trans }}
diff --git a/Resources/views/ActivityReason/new.html.twig b/Resources/views/ActivityReason/new.html.twig
index a9a3ea6ac..13b8b41e4 100644
--- a/Resources/views/ActivityReason/new.html.twig
+++ b/Resources/views/ActivityReason/new.html.twig
@@ -23,14 +23,15 @@
{{ form_row(form.name) }}
{{ form_row(form.active) }}
{{ form_row(form.category) }}
- {{ form_row(form.submit, { 'attr': { 'class' : 'sc-button green' } } ) }}
- {{ form_end(form) }}
-
+
+
+ {{ form_end(form) }}
{% endblock %}
diff --git a/Resources/views/ActivityReason/show.html.twig b/Resources/views/ActivityReason/show.html.twig
index 5b58d7064..6ac8e2a24 100644
--- a/Resources/views/ActivityReason/show.html.twig
+++ b/Resources/views/ActivityReason/show.html.twig
@@ -38,16 +38,16 @@
-
+
{% endblock %}
diff --git a/Resources/views/ActivityReasonCategory/edit.html.twig b/Resources/views/ActivityReasonCategory/edit.html.twig
index f829625f7..7a161dad9 100644
--- a/Resources/views/ActivityReasonCategory/edit.html.twig
+++ b/Resources/views/ActivityReasonCategory/edit.html.twig
@@ -22,14 +22,17 @@
{{ form_start(edit_form) }}
{{ form_row(edit_form.name) }}
{{ form_row(edit_form.active) }}
- {{ form_row(edit_form.submit, { 'attr': { 'class': 'sc-button orange' } } ) }}
- {{ form_end(edit_form) }}
-
+
+
+ {{ form_end(edit_form) }}
{% endblock %}
diff --git a/Resources/views/ActivityReasonCategory/index.html.twig b/Resources/views/ActivityReasonCategory/index.html.twig
index 20a65f391..db9c927c4 100644
--- a/Resources/views/ActivityReasonCategory/index.html.twig
+++ b/Resources/views/ActivityReasonCategory/index.html.twig
@@ -29,14 +29,15 @@
{% for entity in entities %}
- | {{ entity.name|localize_translatable_string }} |
- |
+
+
|
@@ -45,9 +46,9 @@
-
+
-
-
+
{{ 'Create a new activity category reason'|trans }}
diff --git a/Resources/views/ActivityReasonCategory/new.html.twig b/Resources/views/ActivityReasonCategory/new.html.twig
index dba2c2fcd..3ac9e503f 100644
--- a/Resources/views/ActivityReasonCategory/new.html.twig
+++ b/Resources/views/ActivityReasonCategory/new.html.twig
@@ -22,14 +22,15 @@
{{ form_start(form) }}
{{ form_row(form.name) }}
{{ form_row(form.active) }}
- {{ form_widget(form.submit, { 'attr': { 'class' : 'sc-button blue' } } ) }}
- {{ form_end(form) }}
-
+
+ {{ form_end(form) }}
+
{% endblock %}
diff --git a/Resources/views/ActivityReasonCategory/show.html.twig b/Resources/views/ActivityReasonCategory/show.html.twig
index d85972068..d45a7f27c 100644
--- a/Resources/views/ActivityReasonCategory/show.html.twig
+++ b/Resources/views/ActivityReasonCategory/show.html.twig
@@ -37,17 +37,16 @@
-
-
+
{% endblock %}
diff --git a/Resources/views/ActivityType/edit.html.twig b/Resources/views/ActivityType/edit.html.twig
index c3f2d9e69..99bc71057 100644
--- a/Resources/views/ActivityType/edit.html.twig
+++ b/Resources/views/ActivityType/edit.html.twig
@@ -26,8 +26,8 @@