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