Sha256: 69172ecab07d5589b72c90230889a8e9f13fdc26f35601fb234927b71401d979
Contents?: true
Size: 647 Bytes
Versions: 1
Compression:
Stored size: 647 Bytes
Contents
<%= form_for(@news_post) do |f| %> <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 :pststatus, "Post Status" %></label> <%= f.select :pststatus, [['Draft','draft'],['Publish','publish'],['Review','review']], class: "form-control" %> </div> <div class="actions"> <%= f.submit "Submit", class: "btn btn-primary btn-sm" %> </div> <% end %>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
phcpress-0.3.1b | app/views/phcpress/news/posts/_form.html.erb |