<%= f.label :hero_image, "Hero Image" %> *
Default images
<% Lines::Article::HERO_IMAGES.each_with_index do |h, i| %>
![](<%= )
" width="115" id="hero_<%= i %>" class="select_image <%= 'selected_image' if ('/heroes/' + h) == @article.short_hero_image %>" />
<% end %>
<%= f.hidden_field :short_hero_image, class: "short-hero-image-cache" %>
<%= f.label :title, "Title" %> *
<%= f.text_field :title, class: "article-title" %>
<%= f.label :sub_title, "Subtitle" %>
<%= f.text_field :sub_title, class: "article-subtitle" %>
<%= f.label :content, "Content" %> *
<%= f.text_area :content %>
Authors *
<%= f.label :gplus_url, "G+ URL" %>
<%= f.text_field :gplus_url %>
<%= f.label :tag_list, "Tags" %>
<%= f.autocomplete_field :tag_list, autocomplete_tag_name_admin_articles_path, :"data-delimiter" => ', ' %>
Published at *
<%= f.text_field :published_at, value: (@article.published_at || Time.now).strftime("%Y-%m-%d"), 'data-behaviour' => 'datepicker' %>
<%= render_navbar do %>
<%= f.submit "Save Article", class: "btn btn-save-publish" %>
<%= link_to "Cancel", admin_articles_path, class: "btn btn-cancel" %>
<% end %>
<% end %>
<%= render 'lines/admin/articles/formatting_guide' %>