Sha256: cca8321e6860a6c23825b48dde8453a16f8808a41dd2ba4aee709b2f447161b8
Contents?: true
Size: 1.88 KB
Versions: 2
Compression:
Stored size: 1.88 KB
Contents
- cache [:form, obj] do = f.input :lang_id, collection: Mokio::Lang.all.collect{|lang| [bt(lang.name), lang.menu_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 :content, :wrapper => :ckeditor, :as => :ckeditor, :input_html => { :ckeditor => {:toolbar => 'Medium', :height => 400} }, disabled: !obj.display_editable_field?('content') = f.input :recipient_emails, :as => :string, :input_html => { :class => "recipients span10" }, disabled: !obj.display_editable_field?('recipient_emails') = f.association :menus .contaner hr .row-fluid / .span1 / .span7 = f.fields_for :contact_template do |t| .label-wrapper = f.label btc("tpl", Mokio::Contact) .well = btc("form_data", Mokio::Contact) hr ul.unstyled li span.icon16.icomoon-icon-arrow-right-2 = "%name% - Imię i nazwisko lub nazwa firmy" li span.icon16.icomoon-icon-arrow-right-2 = "%email% - Adres e-mail" li span.icon16.icomoon-icon-arrow-right-2 = "%title% - Tytuł" li span.icon16.icomoon-icon-arrow-right-2 = "%content% - Treść" = t.input :tpl, :label => "", :wrapper => :ckeditor, :as => :ckeditor, :input_html => { :ckeditor => {:toolbar => 'Medium', :height => 300} } = f.hidden_field :contact, value: true = f.hidden_field :intro, value: "" - content_for :js do = javascript_include_tag 'backend/plugins/forms/select/select2.min' javascript: $(".recipients").select2({tags:[]});
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
mokio-0.0.6 | app/views/mokio/contacts/_form.html.slim |
mokio-0.0.5 | app/views/mokio/contacts/_form.html.slim |