34 lines
717 B
Plaintext
34 lines
717 B
Plaintext
<p>
|
|
<%= f.label :name, "Name" %>
|
|
<%= f.text_field :name, :class => 'text' %>
|
|
</p>
|
|
|
|
<p>
|
|
<%= f.label :layout_name, "Layout Name" %>
|
|
<%= f.text_field :layout_name, :class => 'text' %>
|
|
</p>
|
|
|
|
<p>
|
|
<%= f.label "content_en", "Content (en)" %>
|
|
<%= f.text_area "content_en", :size => '100x30' %>
|
|
</p>
|
|
|
|
<p>
|
|
<%= f.label "content_zh_tw", "Content (zh_tw)" %>
|
|
<%= f.text_area "content_zh_tw", :size => '100x30' %>
|
|
</p>
|
|
|
|
<p>
|
|
<%= f.label :is_published, "Is Published" %>
|
|
<%= f.radio_button :is_published, 1 %>Yes <%= f.radio_button :is_published, 0 %> No
|
|
</p>
|
|
|
|
<p>
|
|
<%= f.label :external_link, "External Link" %>
|
|
<%= f.text_field :external_link %>
|
|
</p>
|
|
|
|
<p>
|
|
<%= f.label :use_engine, "Use Engine" %>
|
|
<%= f.text_field :use_engine %>
|
|
<p> |