29 lines
874 B
Plaintext
29 lines
874 B
Plaintext
|
<% # encoding: utf-8 %>
|
||
|
|
||
|
<div id="qe-basic" class="qe-edit-div">
|
||
|
|
||
|
<div id="widget-title">
|
||
|
<%= f.label :key %>
|
||
|
<%= f.text_field :key %>
|
||
|
</div>
|
||
|
<div id="widget-title">
|
||
|
<%= f.fields_for :title_translations do |f| %>
|
||
|
<% @site_in_use_locales.each do |locale| %>
|
||
|
<div class="control-group">
|
||
|
<%= label_tag "title-#{locale}", "Title-#{I18nVariable.from_locale(locale)}", :class => 'control-label' %>
|
||
|
<div class="controls">
|
||
|
<%= f.text_field locale, :class => 'input-xxlarge', :value => (news_bulletin_category.title_translations[locale] rescue nil) %>
|
||
|
</div>
|
||
|
</div>
|
||
|
<% end %>
|
||
|
<% end %>
|
||
|
</div>
|
||
|
|
||
|
<div id="widget-title">
|
||
|
<%= f.label :display %>
|
||
|
<%= f.radio_button :display, "List" %>List
|
||
|
<%= f.radio_button :display, "Picture" %>Picture
|
||
|
<br />顯示方式是設定在前台頁面時,資訊所呈現的樣式
|
||
|
</div>
|
||
|
</div>
|