aboutsummaryrefslogtreecommitdiffstats
path: root/webface/templates/model_edit.html
blob: 38aef60bb777c5528a4c0e930c906c56c76347e4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
{{# partial content}}
<h1 style="margin-bottom: 0.1em;">
    <a href="/m/{{namespace}}/" style="color: black; text-decoration: none;">
    {{ namespace }}</a>/{{ model_name }}
</h1>

<form action="/m/{{namespace}}/{{model_slug}}/edit/" method="POST">

<h3>Modelica Code</h3>
The computable model must conform to a subset of the Modelica language.

<p><b>WARNING:</b> you won't get errors or help if your code is wrong,
just a 500 error.

<br><br>
<textarea name="modelica" style="width:50em; height:19em;">{{ modelica }}</textarea>

<h3>Markdown</h3>
<textarea name="markdown" style="width:50em; height:19em;">{{ markdown }}</textarea>

<br><br>
<input type="submit" value="Submit!"></input>

</form>

{{/partial}}
{{~> base.html~}}