Sha256: 4a137383d352086f32c6136b638cdd8abba76d58b5d52769ee649a92a9ab513e

Contents?: true

Size: 695 Bytes

Versions: 4

Compression:

Stored size: 695 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' %>
    <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' %>
    <span id="published_to"><%= f.datetime_select 'published_to', :disabled => params[:live] ? nil : 'disabled'  %></span>
  </p>
</fieldset>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
beef-acts_as_content_node-0.1.1 app/views/content_nodes/_publish_select.html.erb
beef-acts_as_content_node-0.1.2 app/views/content_nodes/_publish_select.html.erb
beef-acts_as_content_node-0.1.3 app/views/content_nodes/_publish_select.html.erb
beef-acts_as_content_node-0.1.4 app/views/content_nodes/_publish_select.html.erb