Sha256: eddee71bab63957edc312ad1a90f1d066c7c6c7fa16cfc709876ee1bc16f02b9
Contents?: true
Size: 1.24 KB
Versions: 6
Compression:
Stored size: 1.24 KB
Contents
/ TODO: Move to a file. javascript: comable_jstree_json = #{raw @categories.to_jstree(state: { opened: true }, icon: 'fa fa-bars')}; comable_new_node_label = '#{Comable.t('admin.categories.new_node')}'; comable_action_new = '#{Comable.t('admin.actions.new')}'; comable_action_edit = '#{Comable.t('admin.actions.edit')}'; comable_action_destroy = '#{Comable.t('admin.actions.destroy')}'; comable_destroied_nodes = []; .comable-page .comable-main-fixed-top .comable-page-heading ul.pull-right.list-inline li = link_to_save h1.page-header = Comable.t('admin.nav.category') .comable-page-body fieldset .col-md-3 legend = Comable.t('admin.note') .help-block ul li = Comable.t('admin.you_can_drag_and_drop') li = Comable.t('admin.you_can_right_click') li = Comable.t('admin.link_to_add_new_node') = link_to Comable.t('admin.actions.new'), 'javascript:void(0)', onclick: 'add_comable_jstree_node()' .col-md-9 #comable-jstree = form_tag comable.admin_categories_path do .hidden = submit_tag = hidden_field_tag :jstree_json
Version data entries
6 entries across 6 versions & 2 rubygems