Sha256: 3fbd85da8fb63bfcbd295b8311b808a804ed3a5a9f78dd58dca3394ebbf04495
Contents?: true
Size: 1.33 KB
Versions: 2
Compression:
Stored size: 1.33 KB
Contents
<div class="row"> <%= form_for(@blog_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 Blog 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-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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
phcpress-0.7.11 | app/views/phcpress/blog/posts/_form.html.erb |
phcpress-0.7.9 | app/views/phcpress/blog/posts/_form.html.erb |