Sha256: 12030971d9153be7e734c2e85c0591614db1440051c2136abbcfa2d473b8e7c3

Contents?: true

Size: 1.43 KB

Versions: 5

Compression:

Stored size: 1.43 KB

Contents

<% options = defined?(options) ? options : nil %>

<%= javascript_include_tag "//cdn.bootcss.com/bootstrap/#{library_version(:bootstrap, '3.3.7', options)}/js/bootstrap.min.js" if library_enabled?(:bootstrap, options) %>

<%= javascript_include_tag "//cdn.bootcss.com/bootstrap-datepicker/#{library_version(:'bootstrap-datepicker', '1.6.2', options)}/js/bootstrap-datepicker.min.js" if library_enabled?(:'bootstrap-datepicker', options) %>
<%= javascript_include_tag "//cdn.bootcss.com/bootstrap-datetimepicker/#{library_version(:'bootstrap-datetimepicker', '4.17.37', options)}/js/bootstrap-datetimepicker.min.js" if library_enabled?(:'bootstrap-datetimepicker', options) %>

<% if library_enabled?(:'bootstrap-table', options) %>
  <%= javascript_include_tag "//cdn.bootcss.com/bootstrap-table/#{library_version(:'bootstrap-table', '1.11.0', options)}/bootstrap-table.min.js" %>
  <%= javascript_include_tag "//cdn.bootcss.com/bootstrap-table/#{library_version(:'bootstrap-table', '1.11.0', options)}/locale/bootstrap-table-zh-CN.min.js", charset: 'UTF-8' %>
<% end %>

<% if library_enabled?(:'bootstrap-fileinput', options) %>
  <%= javascript_include_tag "//cdn.bootcss.com/bootstrap-fileinput/#{library_version(:'bootstrap-fileinput', '4.3.4', options)}/js/fileinput.min.js" %>
  <%= javascript_include_tag "//cdn.bootcss.com/bootstrap-fileinput/#{library_version(:'bootstrap-fileinput', '4.3.4', options)}/js/locales/zh.min.js", charset: 'UTF-8' %>
<% end %>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
repres-bootstrap-1.3.2 app/views/repres/bootstrap/_script.html.erb
repres-bootstrap-1.3.1 app/views/repres/bootstrap/_script.html.erb
repres-bootstrap-1.3 app/views/repres/bootstrap/_script.html.erb
repres-bootstrap-1.2 app/views/repres/bootstrap/_script.html.erb
repres-bootstrap-1.1 app/views/repres/bootstrap/_script.html.erb