Sha256: 103a6f7c99b91d50b48dfb8997837fbbec35c381cec12bcd3c3b0e3acf9349d5

Contents?: true

Size: 532 Bytes

Versions: 13

Compression:

Stored size: 532 Bytes

Contents

// Load the form
var heading = "Add <%= @resource_options[:item_name].to_s.titleize %>";
var bodyContent = "<%= escape_javascript(render(:partial=>"#{@resource_options[:view_path]}/form")) %>";

showGenericModal(heading, bodyContent, true);

<% if @resource_options[:load_rich_text_editor] %>
// Initialize WYSIHTML Editor
$(".wysihtml5").wysihtml5(
  {"stylesheets": '/assets/wysiwyg-color.css'}
);
<% end %>

<% if @resource_options[:tagsinput] %>
// Initialize WYSIHTML Editor
$('input.kuppayam-tagsinput').tagsinput();
<% end %>

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
kuppayam-0.2.12.pre.materialize app/views/kuppayam/workflows/parrot/new.js.erb
kuppayam-0.2.11.pre.materialize app/views/kuppayam/workflows/parrot/new.js.erb
kuppayam-0.2.10.pre.materialize app/views/kuppayam/workflows/parrot/new.js.erb
kuppayam-0.2.9.pre.materialize app/views/kuppayam/workflows/parrot/new.js.erb
kuppayam-0.2.8.pre.materialize app/views/kuppayam/workflows/parrot/new.js.erb
kuppayam-0.2.7.pre.materialize app/views/kuppayam/workflows/parrot/new.js.erb
kuppayam-0.2.6.pre.materialize app/views/kuppayam/workflows/parrot/new.js.erb
kuppayam-0.2.5.pre.materialize app/views/kuppayam/workflows/parrot/new.js.erb
kuppayam-0.2.4.pre.materialize app/views/kuppayam/workflows/parrot/new.js.erb
kuppayam-0.2.3.pre.materialize app/views/kuppayam/workflows/parrot/new.js.erb
kuppayam-0.2.2.pre.materialize app/views/kuppayam/workflows/parrot/new.js.erb
kuppayam-0.2.1.pre.materialize app/views/kuppayam/workflows/parrot/new.js.erb
kuppayam-0.2.0.pre.materialize app/views/kuppayam/workflows/parrot/new.js.erb