gave up on ajax and toggling forms for now which might be better anyway because of access

This commit is contained in:
ablwr 2014-08-09 16:12:50 -04:00
parent 925c7af1c9
commit bc18c291a7
2 changed files with 13 additions and 11 deletions

View File

@ -5,12 +5,11 @@
<div class="well"> <div class="well">
<fieldset> <fieldset>
<legend>First form</legend> <legend>What do you want to do?</legend>
<!-- First we need a select question option... form or not? --> <h3>Select from the following.</h3>
<h4>What do you want to do?</h4>
<ul> <ul>
<li> <li>
Display info <div id="show_display_info">Display info</div>
</li> </li>
<li>Export for web</li> <li>Export for web</li>
<li>Add subtitles track</li> <li>Add subtitles track</li>
@ -20,13 +19,16 @@
</fieldset> </fieldset>
</div> </div>
<!-- todo: yield for form depending on choice above --> <div id="formloader">
<div class="display_info" style="display:none;">
<div class="formloader"> <%= render "display_info" %>
<%= render "display" %> </div>
</div> </div>
<!-- <%= render "web" %> -->
<%#= render "web" %>
<script>
$( "#show_display_info" ).click(function() {
$( ".display_info" ).toggle();
});
</script>