Sha256: f3d256340fdd251a47b8705fe210c9b0c5b6425b887be895464c9bdc7e5c88cb

Contents?: true

Size: 704 Bytes

Versions: 92

Compression:

Stored size: 704 Bytes

Contents

<%= admin_form_for [:admin, resource] do |f| %>
  <%= f.inputs do %>
    <%= f.input(:published_until,
                :as => :string,
                :hint => t('pageflow.admin.revisions.published_until_hint'),
                :input_html => {
                  :value => f.object.published_until && I18n.l(f.object.published_until.to_date)
                }) %>
  <% end %>
  <%= f.actions do %>
    <%= f.action(:submit) %>
    <%= f.action(:cancel, :wrapper_html => {:class => 'cancel'}) %>
  <% end %>
<% end %>

<script>
  jQuery(function($) {
    $('#revision_published_until').datepicker({
      dateFormat: 'dd.mm.yy',
      constrainInput: true,
      minDate: new Date()
    })
  })
</script>

Version data entries

92 entries across 92 versions & 1 rubygems

Version Path
pageflow-17.0.4 app/views/admin/revisions/_form.html.erb
pageflow-17.0.3 app/views/admin/revisions/_form.html.erb
pageflow-17.0.2 app/views/admin/revisions/_form.html.erb
pageflow-17.0.1 app/views/admin/revisions/_form.html.erb
pageflow-17.0.0 app/views/admin/revisions/_form.html.erb
pageflow-16.2.0 app/views/admin/revisions/_form.html.erb
pageflow-16.1.0 app/views/admin/revisions/_form.html.erb
pageflow-16.0.0 app/views/admin/revisions/_form.html.erb
pageflow-15.8.0 app/views/admin/revisions/_form.html.erb
pageflow-14.5.2 app/views/admin/revisions/_form.html.erb
pageflow-15.7.1 app/views/admin/revisions/_form.html.erb
pageflow-15.7.0 app/views/admin/revisions/_form.html.erb
pageflow-15.6.1 app/views/admin/revisions/_form.html.erb
pageflow-15.6.0 app/views/admin/revisions/_form.html.erb
pageflow-15.5.0 app/views/admin/revisions/_form.html.erb
pageflow-15.4.0 app/views/admin/revisions/_form.html.erb
pageflow-15.3.0 app/views/admin/revisions/_form.html.erb
pageflow-15.2.2 app/views/admin/revisions/_form.html.erb
pageflow-15.2.1 app/views/admin/revisions/_form.html.erb
pageflow-15.2.0 app/views/admin/revisions/_form.html.erb