Commit 6ec28e6a authored by Leigh B Stoller's avatar Leigh B Stoller
Browse files

Change the panel title when switching between join/start.

parent 885e7a18
......@@ -38,10 +38,12 @@ function (_, sup,
if ($(this).val() == "join") {
$('#start_project_rollup').addClass("hidden");
$('#submit_button').text("Join Project");
$('#signup_panel_title').text("Join Project");
}
else {
$('#start_project_rollup').removeClass("hidden");
$('#submit_button').text("Start Project");
$('#signup_panel_title').text("Start Project");
}
});
}
......
......@@ -5,7 +5,7 @@
col-xs-12'>
<div class='panel panel-default'>
<div class='panel-heading'>
<h3 class='panel-title'>
<h3 class='panel-title' id='signup_panel_title'>
<%- button_label %>
</h3>
</div>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment