<div class="ad">
  <!-- AD GOES HERE. Switch from 728x90 to 320x100 after screen
       size gets below 800px width -->
</div>


<div class="wrapper">

  {{#if isEditing}}

    {{edit-interface changes=changeSet lang=model.lang errors=errors}}
    <button class="negative" {{action "cancel"}}>Cancel</button>
    <button class="positive submit" {{action "submitProposal"}}>Submit</button>

  {{else}}
    {{#if model.wordset.pendingProposalId}}
    {{else}}
      <button {{action "startEditing"}}>Edit</button>
    {{/if}}
    <div class="wordWrap">
      <div class="word">
        {{model.text}}
      </div>
      <div class="tabs">
        {{#link-to "seq.wordset.index" class="active"}}Definition{{/link-to}}
        {{#link-to "seq.wordset.proposals"}}Proposals{{/link-to}}
      </div>
    </div>

    {{outlet}}
  {{/if}}
</div>

<div class="ad">
  <!-- AD GOES HERE. Switch from 728x90 to 320x100 after screen
       size gets below 800px width -->
</div>


<div class="wrapper">

  {{#if isEditing}}

    {{edit-interface changes=changeSet lang=model.lang errors=errors}}
    <button class="negative" {{action "cancel"}}>Cancel</button>
    <button class="positive submit" {{action "submitProposal"}}>Submit</button>

  {{else}}
    <div class="wordWrap">
      <div class="word">
        {{model.text}}
      </div>
      <div class="tabs">
        {{#link-to "seq.wordset.index" class="active"}}Definition{{/link-to}}
        {{#link-to "seq.wordset.proposals"}}Proposals{{/link-to}}
        {{#if model.wordset.pendingProposalId}}
        {{else}}
          <button class="propose" {{action "startEditing"}}>Propose an Improvement</button>
        {{/if}}
      </div>
    </div>

    {{outlet}}
  {{/if}}
</div>

Edit button on main def page
Edit button on main def page
