Fix question tab translation

This commit is contained in:
Bernie Chiu 2013-12-20 12:32:53 +08:00 committed by saurabhbhatia
parent 6eed4ac431
commit fad2ea22e2
1 changed files with 4 additions and 4 deletions

View File

@ -23,8 +23,8 @@
</div> </div>
</div> </div>
<div class="btn-group" data-toggle="buttons-radio"> <div class="btn-group" data-toggle="buttons-radio">
<a class="btn change-title active" href="${'#'+_title_translations[2]+'_en'}" data-toggle="tab">English</a> <a class="btn change-title active" href="${'#'+_title_translations[2]+'_en'}" data-toggle="tab"><%= I18nVariable.from_locale('en') %></a>
<a class="btn change-title" href="${'#'+_title_translations[2]+'_zh_tw'}" data-toggle="tab">Chinese</a> <a class="btn change-title" href="${'#'+_title_translations[2]+'_zh_tw'}" data-toggle="tab"><%= I18nVariable.from_locale('zh_tw') %></a>
</div> </div>
</div> </div>
</div> </div>
@ -34,8 +34,8 @@
<div class="controls"> <div class="controls">
<div class="tab-content textarea-lang"> <div class="tab-content textarea-lang">
<div class="btn-group" data-toggle="buttons-radio"> <div class="btn-group" data-toggle="buttons-radio">
<a class="btn active" href="${'#'+_description_translations[2]+'_en'}" data-toggle="tab">English</a> <a class="btn active" href="${'#'+_description_translations[2]+'_en'}" data-toggle="tab"><%= I18nVariable.from_locale('en') %></a>
<a class="btn" href="${'#'+_description_translations[2]+'_zh_tw'}" data-toggle="tab">Chinese</a> <a class="btn" href="${'#'+_description_translations[2]+'_zh_tw'}" data-toggle="tab"><%= I18nVariable.from_locale('zh_tw') %></a>
</div> </div>
<div class="tab-pane fade active in" id="${_description_translations[2]+'_en'}"> <div class="tab-pane fade active in" id="${_description_translations[2]+'_en'}">
<textarea class="resizable" id="${_description_translations[0]+'_en'}" name="${_description_translations[1]+'[en]'}" rows="3">${_description_translations[3].en}</textarea> <textarea class="resizable" id="${_description_translations[0]+'_en'}" name="${_description_translations[1]+'[en]'}" rows="3">${_description_translations[3].en}</textarea>