Sha256: a731a4f28deb5687346bed17da0ea9527bd20d2a7974c6c160d86311322ae9d3

Contents?: true

Size: 474 Bytes

Versions: 3

Compression:

Stored size: 474 Bytes

Contents

.f__fieldset
  = f.input :name
<% if options.type == 'section' -%>
  = f.input :nav_name
<% end -%>
  = f.input :slug
  = f.input :published, wrapper: :check
<% if options.type == 'section' -%>
  = f.input :nav_published
<% end -%>

<% attributes.each do |attribute| -%>
  = f.input :<%= attribute.name %>
<% end -%>

<% if options.seo? -%>
.f__fieldset
  .f__legend= t 'labels.admin.legend.seo'
  = f.input :meta_title
  = f.input :meta_description, as: :string
<% end -%>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
adminos-1.0.0.pre.rc.5 lib/generators/templates/adminos/fields.slim
adminos-1.0.0.pre.rc.4 lib/generators/templates/adminos/fields.slim
adminos-1.0.0.pre.rc.3 lib/generators/templates/adminos/fields.slim