Sha256: 67b28b30a8bd95515b083c2d311bc297027b35f2946d5d7cc5715a61feff61bd
Contents?: true
Size: 1.66 KB
Versions: 3
Compression:
Stored size: 1.66 KB
Contents
.panel-edit - if @locals.include?(:errors) .form-box .os-form-group - errors.each do |value, key| %p= value %p= key .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)} .os-form-group %label.label Attachments %input{:type => 'file', :id => 'file', :name => 'file'} .form-box %label Text %br %textarea{:name => "content", :class => "text-editor pure-input-1 form-control", :type => "text", :placeholder => "Content of the book ...", :style => "width: 100%"} -unless book.content_raw.nil? = book.content_raw %div{:class => "grid-large panel-edit"} .form-box = render :partial => 'grouping/keywords' .form-box = render :partial => 'grouping/peoples' .form-box = render :partial => 'grouping/bundles' .form-box = render :partial => 'dimension/timestamp'
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
iatelier-0.5.2 | lib/iatelier/templates/books/_engine.html.haml |
iatelier-0.5.1 | lib/iatelier/templates/books/_engine.html.haml |
iatelier-0.5.0 | lib/iatelier/templates/books/_engine.html.haml |