seminar2/app/helpers/admin/seminars_values_helper.rb

6 lines
220 B
Ruby
Raw Normal View History

2016-06-29 06:57:45 +00:00
module Admin::SeminarsValuesHelper
def show_seminar_type_panel(attribute_field,type)
markup = attribute_field.markup
$seminar_list[:markups][markup]["panel"] == type ? type : [type,'hide'].join(" ")
end
2016-06-29 06:57:45 +00:00
end