Sha256: c35cdbcec6deb71e02be0d3931d2aac9eac45f9b5f038f7d6e8c5164efa8ae03

Contents?: true

Size: 1.44 KB

Versions: 3

Compression:

Stored size: 1.44 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
		%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.4.4 lib/iatelier/templates/books/_engine.html.haml
iatelier-0.4.3 lib/iatelier/templates/books/_engine.html.haml
iatelier-0.4.2 lib/iatelier/templates/books/_engine.html.haml