Update plugin intro
This commit is contained in:
parent
49cef0ab7a
commit
a396a97407
|
@ -1,6 +0,0 @@
|
|||
class WritingConferencesController
|
||||
def show
|
||||
writing_conference = WritingConference.find_by(:uid=>param[:uid])
|
||||
|
||||
end
|
||||
end
|
|
@ -1,10 +1,2 @@
|
|||
class WritingConferenceIntro
|
||||
include Mongoid::Document
|
||||
include Mongoid::Timestamps
|
||||
|
||||
belongs_to :member_profile
|
||||
|
||||
field :text, localize: true
|
||||
field :display_intro, :type => Boolean, :default => true
|
||||
field :display_conference_list, :type => Boolean, :default => true
|
||||
class WritingConferenceIntro < PersonalPluginIntro
|
||||
end
|
||||
|
|
|
@ -34,8 +34,8 @@
|
|||
<div class="control-group">
|
||||
<label class="control-label muted"><%= t("personal_plugins.frontend_page") %></label>
|
||||
<div class="controls">
|
||||
<%= f.check_box :display_intro, :checked => @intro.display_intro %> <%= t("personal_plugins.brief_intro") %>
|
||||
<%= f.check_box :display_conference_list, :checked => @intro.display_conference_list %> <%= t("personal_plugins.complete_list") %>
|
||||
<%= f.check_box :brief_intro, :checked => @intro.brief_intro %> <%= t("personal_plugins.brief_intro") %>
|
||||
<%= f.check_box :complete_list, :checked => @intro.complete_list %> <%= t("personal_plugins.complete_list") %>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue