-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
14 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
<div class="input-wrap field text required field-add-chapter-name chapter<%- order %>-name | ||
<% if (error && error.attributes && error.attributes.name) { print('error'); } %>"> | ||
<label for="chapter<%- order %>-name"><%- gettext("Chapter Name") %></label> | ||
<input id="chapter<%- order %>-name" name="chapter<%- order %>-name" class="chapter-name short" placeholder="<%- _.str.sprintf(gettext("Chapter %s"), order) %>" value="<%- name %>" type="text"> | ||
<span class="tip tip-stacked"><%- gettext("provide the title/name of the chapter that will be used in navigating") %></span> | ||
</div> | ||
<div class="input-wrap field text required field-add-chapter-asset chapter<%- order %>-asset | ||
<% if (error && error.attributes && error.attributes.asset_path) { print('error'); } %>"> | ||
<label for="chapter<%- order %>-asset-path"><%- gettext("Chapter Asset") %></label> | ||
<input id="chapter<%- order %>-asset-path" name="chapter<%- order %>-asset-path" class="chapter-asset-path" placeholder="<%- _.str.sprintf(gettext("path/to/introductionToCookieBaking-CH%d.pdf"), order) %>" value="<%- asset_path %>" type="text" dir="ltr"> | ||
<span class="tip tip-stacked"><%- gettext("upload a PDF file or provide the path to a Studio asset file") %></span> | ||
<button class="action action-upload"><%- gettext("Upload PDF") %></button> | ||
</div> | ||
<a href="" class="action action-close"><i class="icon fa fa-times-circle"></i> <span class="sr"><%- gettext("delete chapter") %></span></a> |