diff --git a/app/views/admin/pages/_form.html.erb b/app/views/admin/pages/_form.html.erb index cc349334..4b52ec7e 100644 --- a/app/views/admin/pages/_form.html.erb +++ b/app/views/admin/pages/_form.html.erb @@ -8,16 +8,18 @@ <%= f.text_field :layout_name, :class => 'text' %>
--<%= f.label "content_en", "Content (en)" %> -<%= f.text_area "content_en", :size => '100x30' %> -
- -+
<%= f.label "content_zh_tw", "Content (zh_tw)" %> <%= f.text_area "content_zh_tw", :size => '100x30' %>
+ + ++<%= f.label "content_en", "Content (en)" %> +<%= f.text_area "content_en", :size => '100x30' %> +
+<%= f.label :is_published, "Is Published" %> <%= f.radio_button :is_published, 1 %>Yes <%= f.radio_button :is_published, 0 %> No @@ -31,4 +33,13 @@
<%= f.label :use_engine, "Use Engine" %> <%= f.text_field :use_engine %> -
\ No newline at end of file +
+ +<% content_for :page_specific_javascript do %> + +<% end -%> \ No newline at end of file