Fix indent.
This commit is contained in:
parent
1ae15033a8
commit
40831d3b8c
|
@ -26,7 +26,7 @@ module Admin::SeminarsFieldHelper
|
||||||
end
|
end
|
||||||
|
|
||||||
def lang_tab(str,lang)
|
def lang_tab(str,lang)
|
||||||
content_tag(:div,str,:class=>"tab-pane fade",:id=>(get_field_name_base+"tab_#{lang}"))
|
content_tag(:div,str,:class=>"tab-pane fade",:id=>(get_field_name_base+"tab_#{lang}"))
|
||||||
end
|
end
|
||||||
|
|
||||||
def render_address
|
def render_address
|
||||||
|
|
|
@ -128,6 +128,7 @@
|
||||||
<%= content_tag :div,:class=>"field-type default fade in #{show_seminar_type_panel(attribute_submission_field,"typeE")}" do%>
|
<%= content_tag :div,:class=>"field-type default fade in #{show_seminar_type_panel(attribute_submission_field,"typeE")}" do%>
|
||||||
<%= render :partial=>"shared/attribute_field/list_block",:locals=>{:field_name=>"#{@field_name}[seminar_submission_fields_attributes][#{@af_counter}][typeE][option_list]",:values=>attribute_submission_field["typeE"]["option_list"]}%>
|
<%= render :partial=>"shared/attribute_field/list_block",:locals=>{:field_name=>"#{@field_name}[seminar_submission_fields_attributes][#{@af_counter}][typeE][option_list]",:values=>attribute_submission_field["typeE"]["option_list"]}%>
|
||||||
<% end if show_seminar_type_panel(attribute_submission_field,"typeE") != 'typeE hide' %>
|
<% end if show_seminar_type_panel(attribute_submission_field,"typeE") != 'typeE hide' %>
|
||||||
|
|
||||||
<%= content_tag :div,:class=>"field-type default fade in #{show_seminar_type_panel(attribute_submission_field,"typeF")}" do%>
|
<%= content_tag :div,:class=>"field-type default fade in #{show_seminar_type_panel(attribute_submission_field,"typeF")}" do%>
|
||||||
<div class="control-group">
|
<div class="control-group">
|
||||||
<label class="control-label muted" for=""><%= t(:options)%></label>
|
<label class="control-label muted" for=""><%= t(:options)%></label>
|
||||||
|
|
|
@ -1,16 +1,16 @@
|
||||||
<% content_for :page_specific_css do -%>
|
<% content_for :page_specific_css do -%>
|
||||||
<%= stylesheet_link_tag "lib/wrap-nav.css" %>
|
<%= stylesheet_link_tag "lib/wrap-nav.css" %>
|
||||||
<%= stylesheet_link_tag "lib/pageslide.css" %>
|
<%= stylesheet_link_tag "lib/pageslide.css" %>
|
||||||
<%= stylesheet_link_tag "lib/main-forms.css" %>
|
<%= stylesheet_link_tag "lib/main-forms.css" %>
|
||||||
<%= stylesheet_link_tag "lib/togglebox.css" %>
|
<%= stylesheet_link_tag "lib/togglebox.css" %>
|
||||||
<% end -%>
|
<% end -%>
|
||||||
|
|
||||||
<% content_for :page_specific_javascript do -%>
|
<% content_for :page_specific_javascript do -%>
|
||||||
<%= javascript_include_tag "lib/jquery.tmpl.min.js" %>
|
<%= javascript_include_tag "lib/jquery.tmpl.min.js" %>
|
||||||
<%= javascript_include_tag "seminar-field-forms.js" %>
|
<%= javascript_include_tag "seminar-field-forms.js" %>
|
||||||
<% end -%>
|
<% end -%>
|
||||||
|
|
||||||
<%= form_for @attribute,:url => admin_seminar_path(@attribute) , :html => { :class=> "form-horizontal main-forms" } do |f| %>
|
<%= form_for @attribute, url: admin_seminar_path(@attribute) , html: { class: "form-horizontal main-forms" } do |f| %>
|
||||||
<% if flash.now[:notice].present? %>
|
<% if flash.now[:notice].present? %>
|
||||||
<%= flash.now[:notice]%>
|
<%= flash.now[:notice]%>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
@ -19,7 +19,7 @@
|
||||||
<fieldset>
|
<fieldset>
|
||||||
|
|
||||||
<div id="attributes-area" class="input-area sortable">
|
<div id="attributes-area" class="input-area sortable">
|
||||||
<%= render partial: "attribute_field",collection: @attribute.seminar_signup_fields.asc(:sort_number, :_id)%>
|
<%= render partial: "attribute_field", collection: @attribute.seminar_signup_fields.asc(:sort_number, :_id)%>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="form-actions">
|
<div class="form-actions">
|
||||||
|
|
|
@ -1,15 +1,15 @@
|
||||||
<% content_for :page_specific_css do -%>
|
<% content_for :page_specific_css do -%>
|
||||||
<%= stylesheet_link_tag "lib/wrap-nav.css" %>
|
<%= stylesheet_link_tag "lib/wrap-nav.css" %>
|
||||||
<%= stylesheet_link_tag "lib/pageslide.css" %>
|
<%= stylesheet_link_tag "lib/pageslide.css" %>
|
||||||
<%= stylesheet_link_tag "lib/main-forms.css" %>
|
<%= stylesheet_link_tag "lib/main-forms.css" %>
|
||||||
<%= stylesheet_link_tag "lib/togglebox.css" %>
|
<%= stylesheet_link_tag "lib/togglebox.css" %>
|
||||||
<% end -%>
|
<% end -%>
|
||||||
|
|
||||||
<% content_for :page_specific_javascript do -%>
|
<% content_for :page_specific_javascript do -%>
|
||||||
<%= javascript_include_tag "lib/jquery.tmpl.min.js" %>
|
<%= javascript_include_tag "lib/jquery.tmpl.min.js" %>
|
||||||
<%= javascript_include_tag "seminar-field-forms-submission.js" %>
|
<%= javascript_include_tag "seminar-field-forms-submission.js" %>
|
||||||
<% end -%>
|
<% end -%>
|
||||||
<%= form_for @attribute,:url => admin_seminar_path(@attribute) , :html => { :class=> "form-horizontal main-forms" } do |f| %>
|
<%= form_for @attribute, url: admin_seminar_path(@attribute) , html: { class: "form-horizontal main-forms" } do |f| %>
|
||||||
<% if flash.now[:notice].present? %>
|
<% if flash.now[:notice].present? %>
|
||||||
<%= flash.now[:notice]%>
|
<%= flash.now[:notice]%>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
|
@ -5,7 +5,8 @@ en:
|
||||||
label: ""
|
label: ""
|
||||||
lists:
|
lists:
|
||||||
markups:
|
markups:
|
||||||
seminar_preferred_session: Preferred Session
|
seminar_preferred_session: Preferred Session
|
||||||
|
|
||||||
restful_actions:
|
restful_actions:
|
||||||
edit_seminar_review: Review
|
edit_seminar_review: Review
|
||||||
copy: Copy
|
copy: Copy
|
||||||
|
@ -46,12 +47,12 @@ en:
|
||||||
home_setting: Home Setting
|
home_setting: Home Setting
|
||||||
sub_page_setting: Sub Page Setting
|
sub_page_setting: Sub Page Setting
|
||||||
menu:
|
menu:
|
||||||
introduction: Introduction
|
introduction: Introduction
|
||||||
news: News
|
news: News
|
||||||
registration: Registration
|
registration: Registration
|
||||||
registered_participants: Registered Participants
|
registered_participants: Registered Participants
|
||||||
submission: Submission
|
submission: Submission
|
||||||
album: Album
|
album: Album
|
||||||
introduction: Introduction
|
introduction: Introduction
|
||||||
announcement_limit: Announcement ;imit
|
announcement_limit: Announcement ;imit
|
||||||
album_limit: Album limit
|
album_limit: Album limit
|
||||||
|
@ -160,7 +161,7 @@ en:
|
||||||
contribute_file_count: Count of Contribute Files #投稿檔案數
|
contribute_file_count: Count of Contribute Files #投稿檔案數
|
||||||
|
|
||||||
frontend:
|
frontend:
|
||||||
seminar: Semianr #研討會前台
|
seminar: Semianr #研討會前台
|
||||||
|
|
||||||
seminar_item:
|
seminar_item:
|
||||||
new_item: New Item #新增項目
|
new_item: New Item #新增項目
|
||||||
|
|
|
@ -5,7 +5,7 @@ zh_tw:
|
||||||
label: ""
|
label: ""
|
||||||
lists:
|
lists:
|
||||||
markups:
|
markups:
|
||||||
seminar_preferred_session: Preferred Session
|
seminar_preferred_session: Preferred Session
|
||||||
|
|
||||||
restful_actions:
|
restful_actions:
|
||||||
edit_seminar_review: 審查
|
edit_seminar_review: 審查
|
||||||
|
@ -47,12 +47,12 @@ zh_tw:
|
||||||
home_setting: 首頁設定
|
home_setting: 首頁設定
|
||||||
sub_page_setting: 內頁設定
|
sub_page_setting: 內頁設定
|
||||||
menu:
|
menu:
|
||||||
introduction: 介紹
|
introduction: 介紹
|
||||||
news: 公告
|
news: 公告
|
||||||
registration: 註冊
|
registration: 註冊
|
||||||
registered_participants: 註冊參與者
|
registered_participants: 註冊參與者
|
||||||
submission: 投稿
|
submission: 投稿
|
||||||
album: 相簿
|
album: 相簿
|
||||||
introduction: 介紹
|
introduction: 介紹
|
||||||
announcement_limit: 公告上限
|
announcement_limit: 公告上限
|
||||||
album_limit: 相簿上限
|
album_limit: 相簿上限
|
||||||
|
@ -161,7 +161,7 @@ zh_tw:
|
||||||
contribute_file_count: 投稿檔案數
|
contribute_file_count: 投稿檔案數
|
||||||
|
|
||||||
frontend:
|
frontend:
|
||||||
seminar: 研討會前台
|
seminar: 研討會前台
|
||||||
|
|
||||||
seminar_item:
|
seminar_item:
|
||||||
new_item: 新增項目
|
new_item: 新增項目
|
||||||
|
|
Loading…
Reference in New Issue