Changeset 446 for trunk


Ignore:
Timestamp:
10/08/10 21:28:22 (14 years ago)
Author:
misc
Message:
  • put the style outside of the widget to change language
Location:
trunk/root/templates/includes
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/root/templates/includes/header.tt

    r445 r446  
    2222<div id="header"> 
    2323    <p id="title"><b>Epoll:</b> [% l('Web voting system') %]</p> 
    24     [% INCLUDE 'includes/locale_select.tt' %] 
     24     
     25    <p id="locale_select" style="float: right">[% INCLUDE 'includes/locale_select.tt' %]</p> 
    2526    <p id="menu" style="clear: both;"> 
    2627    <a href="[% c.uri_for('/') %]">[% l('Welcome') %]</a> :: 
  • trunk/root/templates/includes/locale_select.tt

    r445 r446  
    11<!-- $Id$ --> 
    2 <form style="float: right" action="[% c.uri_for('/', c.req.path) %]" method="POST"> 
     2<form action="[% c.uri_for('/', c.req.path) %]" method="POST"> 
    33 
    44[% langs = [ 'fr', 'de' ] %] 
     
    99[% END %] 
    1010</select> 
    11         <input type="submit" value="[% l('Change language') %]"> 
    12         </form> 
     11<input type="submit" value="[% l('Change language') %]"> 
     12</form> 
Note: See TracChangeset for help on using the changeset viewer.