Sha256: 605c04ad1cd327579914280d08a80333a96a0920b23d323f7a6281225f062714

Contents?: true

Size: 1.92 KB

Versions: 15

Compression:

Stored size: 1.92 KB

Contents

<div class="row">
	<%= form_for(@news_post, :html => {:multipart => true})  do |f| %>
	
		<!-- PHC-Notifi Render Validation -->
		<%= render 'layouts/phcnotifi/components/validations', :object => @news_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 News 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(@news_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-newspaper-o"></i> News Post Publisher
				</div>
				<div class="panel-body">
					<div class="form-group">
						<label><%= f.label :newspsttitle, "Post Name" %></label>
						<%= f.text_field :newspsttitle, class: "form-control" %>
					</div>
					<div class="form-group">
						<label><%= f.label :newspsttext, "Post Text" %></label>
						<%= f.text_area :newspsttext, class: "form-control" %>
					</div>
					<div class="form-group">
						<label><%= f.label :newspstexcerpts, "Excerpts/Text Leads" %></label>
						<%= f.text_area :newspstexcerpts, class: "form-control" %>
					</div>
				</div>
			</div>
		</div>

	<% end %>
</div>

Version data entries

15 entries across 15 versions & 2 rubygems

Version Path
phcpress-2.7.3 app/views/phcpress/news/posts/_form.html.erb
phcpress-2.7.2 app/views/phcpress/news/posts/_form.html.erb
phcpress-2.7.1 app/views/phcpress/news/posts/_form.html.erb
phcpress-2.7.0 app/views/phcpress/news/posts/_form.html.erb
phcpress-2.6.6 app/views/phcpress/news/posts/_form.html.erb
phcpress-2.6.5 app/views/phcpress/news/posts/_form.html.erb
phcpress-2.6.1 app/views/phcpress/news/posts/_form.html.erb
phcpress-2.6.0 app/views/phcpress/news/posts/_form.html.erb
phcpress-2.5.2 app/views/phcpress/news/posts/_form.html.erb
phcpress-2.5.0 app/views/phcpress/news/posts/_form.html.erb
phcpress-2.0.2 app/views/phcpress/news/posts/_form.html.erb
phcpresspro-1.5.3 app/views/phcpresspro/news/posts/_form.html.erb
phcpresspro-1.5.1 app/views/phcpresspro/news/posts/_form.html.erb
phcpresspro-1.0.0 app/views/phcpresspro/news/posts/_form.html.erb
phcpress-2.0.0 app/views/phcpress/news/posts/_form.html.erb