_includes/modals/form_modal.html in jekyll-theme-easy-wedding-0.1.5 vs _includes/modals/form_modal.html in jekyll-theme-easy-wedding-0.1.6
- old
+ new
@@ -1,10 +1,10 @@
-{% capture content %}
+{% capture modal_content %}
<form>
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
- <h4 class="modal-title" id="myModalLabel">{{ page.name }}</h4>
+ <h4 class="modal-title" id="myModalLabel">{{ include.name }}</h4>
</div>
<div class="modal-body form-horizontal text-center">
{{ content }}
</div>
<div class="modal-footer">
@@ -24,6 +24,6 @@
</button>
</div>
</form>
{% endcapture %}
-{% include modals/modal.html content=content %}
+{% include modals/modal.html content=modal_content modal_id=include.modal_id%}
\ No newline at end of file