Sha256: 8ba678fb7a269616b17d9e367016e0c8faeef796f3e282078b240cfc0e1abdb2

Contents?: true

Size: 1.16 KB

Versions: 5

Compression:

Stored size: 1.16 KB

Contents

<div class="row">
	<%= form_for(@news_post) do |f| %>
		<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>
		<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>
			</div>
		</div>
	<% end %>
</div>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
phcpress-0.6.0 app/views/phcpress/news/posts/_form.html.erb
phcpress-0.5.9b app/views/phcpress/news/posts/_form.html.erb
phcpress-0.4.9b app/views/phcpress/news/posts/_form.html.erb
phcpress-0.4.5b app/views/phcpress/news/posts/_form.html.erb
phcpress-0.4.1b app/views/phcpress/news/posts/_form.html.erb