Skip to content

Commit

Permalink
changed the placeholders to more common placeholder names
Browse files Browse the repository at this point in the history
  • Loading branch information
russell-rozenbaum committed Dec 10, 2024
1 parent 2266895 commit 5092383
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/haz3lweb/view/ExerciseMode.re
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ let view =
};

let title_view = {
let title_placeholder = eds.title == "" ? "Exercise Title" : eds.title;
let title_placeholder = eds.title == "" ? "Untitled Exercise" : eds.title;
Cell.simple_cell_view([
div(
~attrs=[Attr.class_("title-cell")],
Expand Down Expand Up @@ -156,7 +156,7 @@ let view =

let module_name_view = {
let module_placeholder =
eds.module_name == "" ? "Exercise Module Name" : eds.module_name;
eds.module_name == "" ? "Unnamed Module" : eds.module_name;
settings.instructor_mode
? Cell.narrative_cell([
div(
Expand Down Expand Up @@ -231,7 +231,7 @@ let view =
};

let prompt_view = {
let prompt_placeholder = eds.prompt == "" ? "Exercise Prompt" : eds.prompt;
let prompt_placeholder = eds.prompt == "" ? "Empty Prompt" : eds.prompt;
let (msg, _) =
ExplainThis.mk_translation(~inject=Some(inject), prompt_placeholder);
Cell.narrative_cell([
Expand Down

0 comments on commit 5092383

Please sign in to comment.