Sha256: 7244c1ba33c0f7f88f3a6c27a438c9fe66265216d0cfd0e7ad31f61e53b977a8

Contents?: true

Size: 703 Bytes

Versions: 3

Compression:

Stored size: 703 Bytes

Contents

<fieldset>
  <legend>Publishing Options</legend>
  <p>
    <label for="article_published_at">Publish at</label><br/>
    <%= check_box_tag 'live', true, params[:live], :onclick => 'toggle_published_at(this.checked)', :id => 'live-from' %>
    <span id="published_at"><%= f.datetime_select 'published_at', :disabled => params[:live] ? nil : 'disabled'  %></span>
  </p>

  <p>
    <label for="article_published_to">Publish till</label><br/>  
    <%= check_box_tag 'live', true, params[:live], :onclick => 'toggle_published_to(this.checked)', :id => 'live-to' %>
    <span id="published_to"><%= f.datetime_select 'published_to', :disabled => params[:live] ? nil : 'disabled'  %></span>
  </p>
</fieldset>

Version data entries

3 entries across 3 versions & 2 rubygems

Version Path
beef-acts_as_content_node-0.1.5 app/views/content_nodes/_publish_select.html.erb
beef-acts_as_content_node-0.1.6 app/views/content_nodes/_publish_select.html.erb
acts_as_content_node-0.1.7 app/views/content_nodes/_publish_select.html.erb