<div class="dataset">
  {{input type="text" name="name" value=funder.name class="form-control" placeholder="Funder"}}
  {{input type="text" name="grant_number" value=funder.grantNumber class="form-control" placeholder="Grant Number"}}
  {{input type="text" name="website" value=funder.website class="form-control" placeholder="Website"}}
  <div class="question">
    <div class="question-text">Authors who received funding</div>
    <div class="chosen-style-override">
      {{chosen content=allAuthors
        name="authors"
          data-placeholder="Choose Author Name"
          selection=fundedAuthors
          optionValuePath="content"
          optionLabelPath="content.fullName"
          class="chosen-author form-control"
          multiple=true
          changeAction="addFundedAuthors"}}
    </div>
    OR
    <a {{action "viewCard" authorsTask}}>Add author</a>
  </div>
  </br>
  <div class="question">
    <div class="question-text">
      Did the funder have a role in study design, data collection and analysis, decision to publish, or preparation of the manuscript?
    </div>
    {{binary-radio-button name="funder-had-influence" selection=funder.funderHadInfluence}}

    {{#if funder.funderHadInfluence}}
    <p>
      Describe the role of any sponsors or funders in the study design, data collection and analysis, decision to publish, or preparation of the manuscript.
      {{textarea value=funder.funderInfluenceDescription class="form-control"}}
    </p>
    {{/if}}
  </div>
</div>


<div class="dataset">
  {{input type="text" name="name" value=funder.name class="form-control" placeholder="Funder"}}
  {{input type="text" name="grant_number" value=funder.grantNumber class="form-control" placeholder="Grant Number"}}
  {{input type="text" name="website" value=funder.website class="form-control" placeholder="Website"}}
  <div class="question">
    <div class="question-text">Authors who received funding</div>
    <div class="chosen-style-override">
      {{chosen content=allAuthors
        name="authors"
          data-placeholder="Choose Author Name"
          selection=fundedAuthors
          optionValuePath="content"
          optionLabelPath="content.fullName"
          class="chosen-author form-control"
          multiple=true
          changeAction="addFundedAuthors"}}
    </div>
  </div>
  </br>
  <div class="question">
    <div class="question-text">
      Did the funder have a role in study design, data collection and analysis, decision to publish, or preparation of the manuscript?
    </div>
    {{binary-radio-button name="funder-had-influence" selection=funder.funderHadInfluence index=funder.id}}

    {{#if funder.funderHadInfluence}}
    <p>
      Describe the role of any sponsors or funders in the study design, data collection and analysis, decision to publish, or preparation of the manuscript.
      {{textarea value=funder.funderInfluenceDescription class="form-control"}}
    </p>
    {{/if}}
  </div>
</div>


Hide add authors link …till we decide how we implement it
Hide add authors link
…till we decide how we implement it