{{#object-location object=model.obj isEditing=true}}{{/object-location}}

<br />
<div class="container">
    <div class="row">
        <div class="col-md-12">
            {{#object-headers headers=model.obj.headersIndexes
                title='Secondary Indexes'}}{{/object-headers}}
        </div>
    </div>
    <div class="row">
        <div class="col-md-12">
            {{#object-headers headers=model.obj.headersCustom
                title='Custom Headers'}}{{/object-headers}}
        </div>
    </div>
</div>

<br />
<div class="container">
    <h4>Contents</h4>
    <div class="row">
        <div class="col-md-12">
            Content Type: <b>{{model.obj.contentType}}</b>
        </div>
    </div>
</div>

<br />
<div class="container">
    {{textarea value=model.obj.contents rows=20 cols=100}}
</div>
<div class="container">
    <button type="button" class="btn btn-md btn-primary"
            {{action 'saveObject' model.obj}}>
        Save</button>
</div>

{{#object-version object=model.obj}}{{/object-version}}

{{#object-location object=model.obj isEditing=true}}{{/object-location}}

<br />
<div class="container">
    <div class="row">
        <div class="col-md-12">
            {{#object-headers headers=model.obj.headersIndexes
                title='Secondary Indexes'}}{{/object-headers}}
        </div>
    </div>
    <div class="row">
        <div class="col-md-12">
            {{#object-headers headers=model.obj.headersCustom
                title='Custom Headers'}}{{/object-headers}}
        </div>
    </div>
</div>

<br />
<div class="container">
    <h4>Content</h4>
    <div class="row">
        <div class="col-md-12 form-group">
            <label for='contentType'>Content Type:</label>
            {{input value=model.obj.contentType id='contentType' class="form-control"}}

        </div>
    </div>
</div>

<br />
<div class="container">
    {{textarea value=model.obj.contents autofocus=true rows=20 cols=100}}
</div>
<div class="container">
    <button type="button" class="btn btn-md btn-primary"
            {{action 'saveObject' model.obj}}>
        Save</button>
</div>

{{#object-version object=model.obj}}{{/object-version}}

Add edit content type field to Edit Object view (REX-36)
Add edit content type field to Edit Object view (REX-36)
