Sha256: 1a3de64e1d89c6f0b00a1f0b4379d64fd3d7dbe7e0ba44b3f92f136b570bb706

Contents?: true

Size: 1.89 KB

Versions: 22

Compression:

Stored size: 1.89 KB

Contents

<div class="row">
	<%= form_for(@blog_post, :html => {:multipart => true}) do |f| %>
	
		<!-- PHC-Notifi Render Validation -->
		<%= render 'phcnotifi/validations', :object => @blog_post %>
	
		<div class="col-md-3">
			<div class="panel panel-default">
				<div class="panel-heading">
					<i class="fa fa-paper-plane-o"></i> Publish Panel
				</div>
				<div class="panel-body">
					<div class="form-group">
						<label><%= f.label :pststatus, "Post Status" %></label>
						<%= f.select :pststatus, [['Draft','draft'],['Publish','publish'],['Review','review']], class: "form-control" %>
					</div>
					<div class="actions">
						<%= f.submit "Publish Blog Article", class: "btn btn-primary btn-sm" %>
					</div>
				</div>
			</div>
			<div class="panel panel-default">
				<div class="panel-heading">
					<i class="fa fa-camera-retro"></i> Post Images
				</div>
				<div class="panel-body">
					<div class="form-group">
						<label><%= f.label :pstimage, "Featured Image" %></label>
						<%= f.file_field :pstimage, class: "form-control" %>
					</div>
					<%= image_tag(@blog_post.pstimage_url, class: "img-responsive img-thumbnail") %>
				</div>
			</div>
		</div>
		<div class="col-md-9 ">
			<div class="panel panel-default">
				<div class="panel-heading">
					<i class="fa fa-pencil-square-o"></i> Blog Post Publisher
				</div>
				<div class="panel-body">
					<div class="form-group">
						<label><%= f.label :blogpsttitle, "Title" %></label>
						<%= f.text_field :blogpsttitle, class: "form-control" %>
					</div>
					<div class="form-group">
						<label><%= f.label :blogpsttext, "Text" %></label>
						<%= f.text_area :blogpsttext, class: "form-control" %>
					</div>
					<div class="form-group">
						<label><%= f.label :blogpstexcerpts, "Excerpts/Text Leads" %></label>
						<%= f.text_area :blogpstexcerpts, class: "form-control" %>
					</div>
				</div>
			</div>
		</div>

	<% end %>
</div>

Version data entries

22 entries across 22 versions & 2 rubygems

Version Path
phcpress-3.6.0 app/views/phcpress/blog/posts/_form.html.erb
phcpress-3.5.6 app/views/phcpress/blog/posts/_form.html.erb
phcpress-3.5.5 app/views/phcpress/blog/posts/_form.html.erb
phcpress-3.5.0 app/views/phcpress/blog/posts/_form.html.erb
phcpress-3.0.1 app/views/phcpress/blog/posts/_form.html.erb
phcpress-2.9.5 app/views/phcpress/blog/posts/_form.html.erb
phcpress-2.9.1 app/views/phcpress/blog/posts/_form.html.erb
phcpress-2.9.0 app/views/phcpress/blog/posts/_form.html.erb
phcpress-2.8.13 app/views/phcpress/blog/posts/_form.html.erb
phcpress-2.8.12 app/views/phcpress/blog/posts/_form.html.erb
phcpress-2.8.11 app/views/phcpress/blog/posts/_form.html.erb
phcpress-2.8.10 app/views/phcpress/blog/posts/_form.html.erb
phcpress-2.8.9 app/views/phcpress/blog/posts/_form.html.erb
phcpress-2.8.8 app/views/phcpress/blog/posts/_form.html.erb
phcpress-2.8.7 app/views/phcpress/blog/posts/_form.html.erb
phcpress-2.8.6 app/views/phcpress/blog/posts/_form.html.erb
phcpress-2.8.5 app/views/phcpress/blog/posts/_form.html.erb
phcpress-2.8.1 app/views/phcpress/blog/posts/_form.html.erb
phcpress-2.8.0 app/views/phcpress/blog/posts/_form.html.erb
phcpresspro-1.6.1 app/views/phcpresspro/blog/posts/_form.html.erb