Fixes issue #216

Added a div element to wrap the buttons so they are vertically aligned with each other. Also converted input and a elements to button elements as Bootstrap recommends: http://getbootstrap.com/css/#buttons-tags
This commit is contained in:
Drew Larson
2013-12-01 19:56:21 -06:00
parent 7f4def6b83
commit 26d579f13f

View File

@@ -3,8 +3,10 @@
<span id="error-edit-title" class="error"></span> <span id="error-edit-title" class="error"></span>
<input type="text" style="width: 680px;" id="edit-title" value="@title"/> <input type="text" style="width: 680px;" id="edit-title" value="@title"/>
<textarea style="width: 680px; height: 100px; max-height: 300px;" id="edit-content">@content.getOrElse("")</textarea> <textarea style="width: 680px; height: 100px; max-height: 300px;" id="edit-content">@content.getOrElse("")</textarea>
<input type="button" class="btn btn-small" value="Update Issue"/> <div>
<span class="pull-right"><a class="btn btn-small btn-danger" href="#">Cancel</a></span> <button type="button" class="btn btn-small">Update Issue</button>
<button type="button" class="btn btn-small btn-danger pull-right">Cancel</button>
</div>
<script> <script>
$(function(){ $(function(){
$('#edit-content').elastic(); $('#edit-content').elastic();