Skip to content

Commit

Permalink
class prefixes added.
Browse files Browse the repository at this point in the history
  • Loading branch information
jhinghaus authored and dwt committed Jun 12, 2018
1 parent 7bbe622 commit 8cfcdf6
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions src/OFS/dtml/imageEdit.dtml
Expand Up @@ -4,27 +4,27 @@
<main>

<p class="form-help">
You can update the data for this &dtml-kind; using the form below.
Select a data file from your local computer by clicking the <em>browse</em>
You can update the data for this &dtml-kind; using the form below.
Select a data file from your local computer by clicking the <em>browse</em>
button and click <em>upload</em> to update the contents of the &dtml-kind;.
</p>

<form action="&dtml-URL1;/manage_edit" method="post" enctype="multipart/form-data" class="image metadata">
<form action="&dtml-URL1;/manage_edit" method="post" enctype="multipart/form-data" class="zmi-image zmi-metadata">

<div class="form-group row">
<label for="title" class="col-sm-2">Title</label>
<div class="col-sm-10">
<input id="title" class="form-control" type="text" name="title" value="<dtml-if title>&dtml-title;</dtml-if>">
</div>
</div>

<div class="form-group row">
<label for="content-type" class="col-sm-2">Content Type</label>
<div class="col-sm-10">
<input id="content-type" class="form-control" type="text" name="content_type:required" value="<dtml-if content_type>&dtml-content_type;</dtml-if>">
</div>
</div>

<div class="form-group row">
<label for="preview" class="col-sm-2">Preview</label>
<figure id="preview" class="figure col-sm-10">
Expand All @@ -38,7 +38,7 @@
<figcaption class="figure-caption">File Size: <dtml-var size thousands_commas> bytes</figcaption>
</figure>
</div>

<div class="controls">
<dtml-if wl_isLocked>
<em>Locked</em>
Expand All @@ -47,24 +47,24 @@
</dtml-if>
</div>
</form>

<form action="&dtml-URL1;/manage_upload" method="post" enctype="multipart/form-data" class="image upload mt-5">

<div class="form-group row">
<label for="file-data" class="col-sm-2">File Data</label>
<div class="col-sm-10">
<input id="file-data" class="form-control-file" type="file" name="file" />
</div>
</div>

<div class="controls">
<dtml-if wl_isLocked>
<em>Locked</em>
<dtml-else>
<input class="btn btn-primary" type="submit" name="submit" value="Upload">
</dtml-if>
</div>

</form>
</main>

Expand Down

0 comments on commit 8cfcdf6

Please sign in to comment.