Sha256: fb2ef2d75d865e0f960d761865d64d14120cbaf03e970928c06e615d2271587e
Contents?: true
Size: 1023 Bytes
Versions: 12
Compression:
Stored size: 1023 Bytes
Contents
<%= error_messages_for :news_item %> <% form_for [:admin, @news_item] do |f| %> <div class='field'> <%= f.label :title %> <%= f.text_field :title, :class => "larger", :style => 'width: 954px' %> </div> <div class='field'> <%= f.label :publish_date %> <%= f.datetime_select :publish_date %> </div> <div class='clearfix' style='width:963px'> <div class='field'> <%= f.label :blurb %> <p> <small> Write something that leads the reader into wanting to read the full article. This should just be a 1 paragraph max intro into the article. </small> </p> <%= f.text_area :blurb, :rows => "5", :class => "wymeditor"%> </div> <div class='field'> <%= f.label :content %> <%= f.text_area :content, :rows => "20", :class => "wymeditor" %> </div> </div> <div class='form-actions'> <%= f.submit 'Save', :class => "wymupdate" %> or <%= link_to "Cancel", admin_news_items_url, :title => "Cancelling will lose all changes you've made to this news item" %> </div> <% end %>
Version data entries
12 entries across 12 versions & 1 rubygems