Fix the layout of the survey edition form to ensure the edition link are
authorFlorent Bruneau <florent.bruneau@polytechnique.org>
Sat, 8 Sep 2007 08:40:19 +0000 (10:40 +0200)
committerFlorent Bruneau <florent.bruneau@polytechnique.org>
Sat, 8 Sep 2007 08:40:19 +0000 (10:40 +0200)
readable

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
templates/survey/show_root.tpl

index 909e2ee..5a91c95 100644 (file)
@@ -67,7 +67,7 @@
       {assign var="survey_editallmode" value=true}
     {/if}
     {if $survey_editmode}
-    <td>
+    <td class="smaller" style="width: 30%">
       <a href='survey/edit/question/root'>{icon name=page_edit} Modifier la description</a>
       {if $survey_editallmode}<br /><a href='survey/edit/add/0'>{icon name=add} Ajouter une question au d&#233;but</a>{/if}
     </td>
@@ -80,7 +80,7 @@
       {include file='survey/show_question.tpl' squestion=$squestion}
     </td>
     {if $survey_editallmode}
-    <td>
+    <td class="smaller" style="width: 30%; vertical-align: middle">
       <a href='survey/edit/question/{$squestion.id}'>{icon name=page_edit} Modifier cette question</a><br />
       <a href='survey/edit/del/{$squestion.id}'>{icon name=delete} Supprimer cette question</a><br />
       <a href='survey/edit/add/{$squestion.id+1}'>{icon name=add} Ajouter une question apr&#232;s</a>