Sha256: f66c8623273733805dad891ed816772c2d8c287c29debfa8b9097812fa84a86c

Contents?: true

Size: 1.41 KB

Versions: 3

Compression:

Stored size: 1.41 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_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.3.2 lib/iatelier/templates/books/_engine.html.haml
iatelier-0.3.1 lib/iatelier/templates/books/_engine.html.haml
iatelier-0.3.0 lib/iatelier/templates/books/_engine.html.haml