Sha256: 79ca4cf60f37183dea8f52abbea8fabb7a446587bf4205831f5b53fb1775bee7

Contents?: true

Size: 826 Bytes

Versions: 3

Compression:

Stored size: 826 Bytes

Contents

<!DOCTYPE html>
<html>
<head>
  <title>Redactor</title>
  <meta charset="utf-8">
  <%= csrf_meta_tags %>
  <%= stylesheet_link_tag *@viewport_opts.stylesheets %>
  <%= javascript_include_tag *@viewport_opts.javascripts %>
  <script type="text/javascript">
    $(function() {
      $('#redactor').redactor({
        focus: <%= @redactor_opts.focus %>,
        fullpage: <%= @redactor_opts.fullpage %>,
        iframe: <%= @redactor_opts.iframe %>,
        css: <%=raw redactor_css(@redactor_opts.css) %>,
        minHeight: <%= @redactor_opts.minheight %>,
        imageUpload: '<%= @redactor_opts.imageupload %>',
        plugins: <%=raw @redactor_opts.plugins %>,
      });
    });
  </script>
</head>

<body>
  <%= render "layouts/redactor_header" %>
  <%= yield %>
  <%= render "layouts/redactor_footer" %>
</body>
</html>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
activeadmin-redactor-0.2.1 app/views/layouts/redactor.html.erb
activeadmin-redactor-0.2.0 app/views/layouts/redactor.html.erb
activeadmin-redactor-0.1.4 app/views/layouts/redactor.html.erb