Skip to content

Commit

Permalink
pkp/pkp-lib#3536 do not show review from selection in section setting…
Browse files Browse the repository at this point in the history
…s if no custom forms exist
  • Loading branch information
ajnyga committed Apr 25, 2018
1 parent eff4829 commit 95ddced
Showing 1 changed file with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,11 @@
{fbvElement type="text" id="wordCount" value=$wordCount maxlength="80" label="manager.sections.wordCountInstructions"}
{/fbvFormSection}

{fbvFormSection title="submission.reviewForm" for="reviewFormId" inline=true size=$fbvStyles.size.MEDIUM}
{fbvElement type="select" id="reviewFormId" defaultLabel="manager.reviewForms.noneChosen"|translate defaultValue="" from=$reviewFormOptions selected=$reviewFormId translate=false size=$fbvStyles.size.MEDIUM inline=true}
{/fbvFormSection}
{if count($reviewFormOptions)>0}
{fbvFormSection title="submission.reviewForm" for="reviewFormId" inline=true size=$fbvStyles.size.MEDIUM}
{fbvElement type="select" id="reviewFormId" defaultLabel="manager.reviewForms.noneChosen"|translate defaultValue="" from=$reviewFormOptions selected=$reviewFormId translate=false size=$fbvStyles.size.MEDIUM inline=true}
{/fbvFormSection}
{/if}

{call_hook name="Templates::Manager::Sections::SectionForm::AdditionalMetadata" sectionId=$sectionId}
{/fbvFormArea}
Expand Down

0 comments on commit 95ddced

Please sign in to comment.