Sha256: 55ea104461bc2a90f8d69fe8172bb106fe8652e0c7cd3bbd8d0948a0360abc46

Contents?: true

Size: 642 Bytes

Versions: 2

Compression:

Stored size: 642 Bytes

Contents

.row
  .col-lg-12
    .wrapper.wrapper-content.animated.fadeInUp
      .ibox
        .ibox-title
          %h5 New Template
          .ibox-tools
        .ibox-content

          = simple_form_for ["manage", @template] do |f|
            = f.input :name
            = f.input :body, required: false
            = f.submit "crear"


- content_for :javascript do

  :javascript


    $(function() {

        var editor_one = CodeMirror.fromTextArea(document.getElementById("template_body"), {
            lineNumbers: true,
            matchBrackets: true,
            styleActiveLine: true,
            theme: "elegant"
        });

    });

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
chaskiq-0.0.3 app/views/chaskiq/manage/templates/_form.haml
chaskiq-0.0.2 app/views/chaskiq/manage/templates/_form.haml