Sha256: 1acbb21d3c685125edb9600c825875b718847c9c7720fa1df929eded7b504cb3

Contents?: true

Size: 411 Bytes

Versions: 3

Compression:

Stored size: 411 Bytes

Contents

<%= form_for [:admin, entry] do |form| %>
  <%= form.label :title %>
  <%= form.text_field :title %>

  <%= form.label :body %>
  <%= form.text_area :body %>

  <% if entry.published_at %>
    <%= form.label :published_at %>
    <%= form.text_field :published_at %>
  <% end %>

  <br>

  <%= form.submit 'Save as draft', :class => 'btn' %>
  <%= form.submit 'Publish', :class => 'btn btn-success' %>
<% end %>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
jabe-0.9.1 app/views/jabe/admin/entries/_form.html.erb
jabe-0.9.0 app/views/jabe/admin/entries/_form.html.erb
jabe-0.8.0 app/views/jabe/admin/entries/_form.html.erb