asiaH2/modules/personal_conference/index_search1.html.erb

38 lines
1.2 KiB
Plaintext
Raw Normal View History

2020-04-09 10:46:42 +00:00
<script type="text/javascript">
$( ".selectbox" ).ready(function() {
var option_len = $(".search-widget option").length
for (var i=0;i<option_len;i++){
if($(".search-widget option").eq(i).data('selected')=="selected"){
$(".search-widget option").eq(i).attr('selected','selected')
}
}
});
</script>
<h3>{{widget-title}}</h3>
2021-04-19 02:04:27 +00:00
<div class="search-widget">
2020-04-09 10:46:42 +00:00
<form action="{{url}}" method="get">
2021-04-19 02:04:27 +00:00
<input type="hidden" name="authenticity_token" value="{{csrf_value}}">
{{select_text}}
<select class="selectbox" name="selectbox" data-level="0" data-list="choice">
2020-04-09 10:46:42 +00:00
<option value={{choice_value}} data-selected='{{choice_select}}' >
{{choice_show}}</option>
</select>
2021-04-19 02:04:27 +00:00
{{search_text}}
<input name="keywords" placeholder="Keywords" type="text" value="{{search_value}}">
2020-04-09 10:46:42 +00:00
<button>Go</button>
<a id="filter" style="" href="{{url}}">Clear</a>
</form>
</div>
2021-04-19 02:04:27 +00:00
<table class="table table-hover table-striped projects-index">
2020-04-09 10:46:42 +00:00
<thead>
<tr data-level="0" data-list="headers">
2021-04-19 02:04:27 +00:00
<th class="col-md-{{col}}">{{head-title}}</th>
2020-04-09 10:46:42 +00:00
</tr>
</thead>
<tbody data-level="0" data-list="writing_conferences">
<tr data-level="1" data-list="cps">
<td>{{value}}</td>
</tr>
</tbody>
</table>
2021-04-19 02:04:27 +00:00
{{pagination_goes_here}}