Sha256: 16b2e2153f4180394e0d7d3157fe4b1e06f61800ce91630bda2e4a4fead425f8
Contents?: true
Size: 1013 Bytes
Versions: 7
Compression:
Stored size: 1013 Bytes
Contents
<!-- HACK: empty line must be here for split_form_for to work properly --> <fieldset> <div class="col"> <%= hidden_field_tag 'cl', Article.locale %> <%= f.text_field :title, :class => 'big', :label => true %> <label for="link_body"> <%= t(:'adva.links.write_link') %> </label> <%= f.text_field :body, :class => 'big' %> <%= f.label :draft, t(:'adva.links.question_save_as_draft') %> <%= f.check_box :draft?, :id => 'toggle_draft', :label => :'adva.links.confirm_save_as_draft' %> <p id="publish_date_wrapper" style="<%= @link.draft? ? "display:none" : "" %>"> <%= f.label :published_at, t(:'adva.links.publish_on_date') %> <%= f.datetime_select :published_at, :start_year => (@link.published_at || Time.zone.now).year-1, :end_year => (Time.zone.now.year + 5), :order => [:month, :day, :year] %> </p> </div> </fieldset> <%= render :partial => 'options', :locals => { :f => f } %>
Version data entries
7 entries across 7 versions & 2 rubygems