Sha256: 631725846573a27ae23b007f24210793dd4aadd46aee7adcfc72fa66d2b3d390

Contents?: true

Size: 936 Bytes

Versions: 6

Compression:

Stored size: 936 Bytes

Contents

<% form_for [:admin, @news_item] do |f| %>
  <%= render :partial => "/shared/admin/error_messages",
             :locals => {
               :object => @news_item,
               :include_object_name => true
             } %>

  <div class='field'>
    <%= f.label :title %>
    <%= f.text_field :title, :class => "larger widest" %>
  </div>

  <div class='field'>
    <%= f.label :publish_date %>
    <%= f.datetime_select :publish_date %>
  </div>

  <div class='field'>
    <%= f.label :content %>
    <%= f.text_area :content, :rows => "20", :class => "wymeditor widest" %>
  </div>

  <%= render :partial => "/shared/admin/form_actions",
             :locals => {
               :f => f,
               :continue_editing => true,
               :delete_title => t('admin.news_items.news_item.delete'),
               :delete_confirmation => t('shared.admin.delete.message', :title => @news_item.title)
             } %>

<% end %>

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
refinerycms-news-0.9.9.5 app/views/admin/news_items/_form.html.erb
refinerycms-news-0.9.9.4 app/views/admin/news_items/_form.html.erb
refinerycms-news-0.9.9.3 app/views/admin/news_items/_form.html.erb
refinerycms-news-0.9.9.2 app/views/admin/news_items/_form.html.erb
refinerycms-news-0.9.9.1 app/views/admin/news_items/_form.html.erb
refinerycms-news-0.9.9 app/views/admin/news_items/_form.html.erb