Sha256: a976880cf5a98ebd7b6bed8ce5f5895566e8d4449f7492f86a52bcfa0ca09e0f
Contents?: true
Size: 1.89 KB
Versions: 2
Compression:
Stored size: 1.89 KB
Contents
= render :partial => "mokio/common/main_pic", locals: {f:f} = render :partial => "mokio/contents/common", locals: {f:f} = f.input :lang_id, collection: Mokio::Lang.all.collect{|lang| [bt(lang.name), lang.id]}, include_blank: bt('all'), disabled: !obj.display_editable_field?('lang_id') = f.input :active, :wrapper => :active_checkbox, disabled: !obj.display_editable_field?('active') = f.input :home_page, :wrapper => :active_checkbox, disabled: !obj.display_editable_field?('home_page') = f.input :title, disabled: !obj.display_editable_field?('title') = f.input :subtitle, disabled: !obj.display_editable_field?('subtitle'), :as => :string = f.input :intro, label: btc("intro", 'mov_gallery'), :wrapper => :ckeditor, :as => :ckeditor, :input_html => { :ckeditor => {:toolbar => 'Full', :height => 150, :language => I18n.locale} }, disabled: !obj.display_editable_field?('intro') = f.input :content, :wrapper => :ckeditor, :as => :ckeditor, :input_html => { :ckeditor => {:toolbar => 'Full', :height => 300, :language => I18n.locale} }, disabled: !obj.display_editable_field?('content') = f.input :display_from, :wrapper => :date, :as => :string, :input_html => { :class => "mask-date display_from", :value => (localize(f.object.display_from, :format => :datepicker) if f.object.display_from) }, disabled: !obj.display_editable_field?('display_from') = f.input :display_to, :wrapper => :date, :as => :string, :input_html => { :class => "mask-date display_to", :value => (localize(f.object.display_to, :format => :datepicker) if f.object.display_to) }, disabled: !obj.display_editable_field?('display_to') .row-fluid label.form-label.span2 = t('menus.content_assoc') .span10 =collection_select(:mov_gallery, :menu_ids,menu_select_grouped(Mokio::Menu.all.includes(:content_links).arrange(:order => :seq)),:id,:name, {disabled: lambda{|s| s.fake.present? },selected:obj.menus.map {|j| j.id} },:multiple => true)
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
mokio-0.0.15 | app/views/mokio/mov_galleries/_form_inputs.html.slim |
mokio-0.0.14 | app/views/mokio/mov_galleries/_form_inputs.html.slim |