Sha256: 9255fe6d606e74a2345952c54594b114406fc51631a4d8373138f778e51dc239

Contents?: true

Size: 696 Bytes

Versions: 12

Compression:

Stored size: 696 Bytes

Contents

.bottom-margin-1
  = "#{Cmor::Blog::Post.human_attribute_name(:creator)}: #{administrador_helper(self).label_for(form.object.creator)}"

= form.input :locale, collection: I18n.available_locales.map(&:to_s)
= form.input :title
= form.input :body
= form.input :published, as: :boolean

- if form.object.assets.empty?
  = form.input :assets, as: :file, input_html: { multiple: true }
- else
  .row.mb-4
    .col-md-6
      .bg-success.p-4
        = form.input :append_assets, as: :file, input_html: { multiple: true }
    .col-md-6
      .bg-danger.p-4
        = form.input :overwrite_assets, as: :file, input_html: { multiple: true }

- if Cmor::Core.features?(:cmor_tags)
  = form.input :tag_list

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
cmor_blog_backend-0.0.58.pre app/views/cmor/blog/backend/posts/_form.html.haml
cmor_blog_backend-0.0.57.pre app/views/cmor/blog/backend/posts/_form.html.haml
cmor_blog_backend-0.0.56.pre app/views/cmor/blog/backend/posts/_form.html.haml
cmor_blog_backend-0.0.55.pre app/views/cmor/blog/backend/posts/_form.html.haml
cmor_blog_backend-0.0.54.pre app/views/cmor/blog/backend/posts/_form.html.haml
cmor_blog_backend-0.0.53.pre app/views/cmor/blog/backend/posts/_form.html.haml
cmor_blog_backend-0.0.52.pre app/views/cmor/blog/backend/posts/_form.html.haml
cmor_blog_backend-0.0.51.pre app/views/cmor/blog/backend/posts/_form.html.haml
cmor_blog_backend-0.0.50.pre app/views/cmor/blog/backend/posts/_form.html.haml
cmor_blog_backend-0.0.49.pre app/views/cmor/blog/backend/posts/_form.html.haml
cmor_blog_backend-0.0.48.pre app/views/cmor/blog/backend/posts/_form.html.haml
cmor_blog_backend-0.0.45.pre app/views/cmor/blog/backend/posts/_form.html.haml