Sha256: 83f359d0f1f6f44e64dee95db4d7f04eb11d89195a34d7e6ef9e1d868c020bb4
Contents?: true
Size: 836 Bytes
Versions: 5
Compression:
Stored size: 836 Bytes
Contents
= javascript_include_tag 'pages_cms/wysihtml5x-toolbar' = javascript_include_tag 'pages_cms/advanced_and_extended' -#= javascript_include_tag 'pages_cms/select2.min' -#= stylesheet_link_tag 'pages_cms/select2.min' = form_for article, url: url, method: method do |f| = f.text_field :title, placeholder: 'article title', class: 'form-control big' = f.select(:image_id, PagesCms::Image.all.collect {|p| [p.name, p.id] }, {include_blank: 'Choose a picture'}, class: 'form-control inline-form') = f.text_field :tags, value: f.object.tags.join(','), placeholder: 'tags, comma separated', class: 'form-control' <br /> = render 'pages_cms/admin/pages/editor', f: f = f.label :draft = f.check_box :draft, value: false = f.label :archived = f.check_box :archived, value: false = f.submit 'Submit', class: 'btn btn-primary'
Version data entries
5 entries across 5 versions & 1 rubygems