Sha256: c8c55dd80ed7d0216387ba7cc85f38d2c2931de8b8a38bc3253804d9a9938b3c
Contents?: true
Size: 1.35 KB
Versions: 5
Compression:
Stored size: 1.35 KB
Contents
.panel-edit .form-box .os-form-group -if book.dimensions.include? 'title' %label.label Title %input{:class => "form-control pure-input-1", :name => "title", :type => "text", :placeholder => "Title", :value => book.title.try(:value)} .os-form-group -if book.dimensions.include? 'slug' %label.label Slug %input{:class => "form-control pure-input-1", :name => "slug", :type => "text", :placeholder => "Slug", :value => book.slug.try(:value)} .os-form-group -if book.dimensions.include? 'subtitle' %label.label Subtitle %input{:class => "form-control pure-input-1", :name => "subtitle", :type => "text", :placeholder => "Subtitle", :value => book.subtitle.try(:value)} .os-form-group -if book.dimensions.include? 'description' %label.label Description %input{:class => "form-control pure-input-1", :name => "description", :type => "text", :placeholder => "Description", :value => book.description.try(:value)} .form-box %label Text %textarea{:name => "content", :class => "text-editor pure-input-1 form-control", :type => "text", :placeholder => "Content of the book ..."} -unless book.content.nil? = book.content %div{:class => "grid-large panel-edit"} .form-box = render :partial => 'grouping/keywords' .form-box = render :partial => 'grouping/peoples' .form-box = render :partial => 'grouping/bundles'
Version data entries
5 entries across 5 versions & 1 rubygems