Sha256: 072e95d38d73cd12c0644b12081d3d8f4b9d8067f96097e7a87db6cf29c7ba2f

Contents?: true

Size: 684 Bytes

Versions: 4

Compression:

Stored size: 684 Bytes

Contents

<script>
  window.onload = function() {
    var editor = CodeMirror.fromTextArea(document.getElementById("config"), {
      mode: "ruby",
      autofocus: true,
      // lineNumbers: true,
      viewportMargin: Infinity,
    });
  }

  saved = false;
  window.onbeforeunload = function() {
    if (!saved) {
      return true;
    }
  }
</script>

<form class="config_edit" action="/config" method="post">
  <div>
    <p>Modify the current import configuration :</p>
    <span class="button">
      <input type="submit" value="Save" onclick="saved = true;" />
      or <a href="/">cancel</a>
    </span>
  </div>
  <textarea name="config" id="config"><%= config %></textarea>
</form>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
rivendell-import-1.04 lib/rivendell/import/views/config.erb
rivendell-import-1.03 lib/rivendell/import/views/config.erb
rivendell-import-1.02 lib/rivendell/import/views/config.erb
rivendell-import-1.01 lib/rivendell/import/views/config.erb