<commit_before>{% extends 'CorvusAdminBundle:Default:adminBase.html.twig' %}

{% block breadcrumbs %}
	<li class="active">Education</li>
{% endblock %}

{% block mainContent %}
    <h2>Education</h2>
    <div class="well">
		These are all the education details stored in Corvus. This will be used to display details of your Education in the portfolio.
		It will also be included in the downloadable CV <span class="label label-info">Coming Soon</span>.
	</div>
    
    <form action="{{ path('CorvusAdminBundle_DeleteEducation') }}" method="post" id="educationform" name="educationform">
		<table class="table table-bordered table-hover table-striped">
			<tfoot>
				<tr><td colspan="6"><a href="{{ path('CorvusAdminBundle_NewEducation') }}" class="btn btn-primary">New</a></td></tr>
			</tfoot>
			<thead>
				<tr><th><input type="checkbox" id="selectAll" /></th>
				<th>Order</th>
				<th>Education Institute</th>
				<th>Qualification</th>
				<th>Result</th>
				<th>Actions</th></tr>
			</thead>
			<tbody>
				{% for item in form.education %}
					<tr>
						<td>{{ form_widget(item.check, { 'value' : item.vars.value.id }) }}</td>
						<td>{{ item.vars.value.rowOrder }}
							 {% if form.education|length > 1 %}
								{% if loop.first == true %}
									<a href="{{ path('CorvusAdminBundle_UpEducationOrder', { id : item.vars.value.id }) }}" class="disabled">
										<i class="fa fa-arrow-level-up"></i>
									</a>
								{% else %}
									<a href="{{ path('CorvusAdminBundle_UpEducationOrder', { id : item.vars.value.id }) }}">
										<i class="fa fa-arrow-level-up"></i>
									</a>
								{% endif %}
								{% if loop.last == false %}
									<a href="{{ path('CorvusAdminBundle_DownEducationOrder', { id : item.vars.value.id }) }}">
										<i class="fa fa-arrow-level-up"></i>
									</a>
								{% else %}
									<a href="{{ path('CorvusAdminBundle_DownEducationOrder', { id : item.vars.value.id }) }}" class="disabled">
										<i class="fa fa-arrow-level-up"></i>
									</a>
								{% endif %}
								|
							{% endif %}
						</td>
						<td>{{ item.vars.value.educationinstitute }}</td>
						<td>{{ item.vars.value.qualification }}</td>
						<td>{{ item.vars.value.result }}</td>
						<td>
							<a href="{{ path('CorvusAdminBundle_EditEducation', { id : item.vars.value.id }) }}" class="btn btn-primary btn-xs">
								<i class="fa fa-pencil-square-o"></i> Edit
							</a>
							<a href="{{ path('CorvusAdminBundle_DeleteEducationId', { id : item.vars.value.id }) }}" class="btn btn-danger btn-xs">
								<i class="fa fa-trash-o"></i> Delete
							</a>
						</td>
					</tr>
				{% endfor %}
			</tbody>
		</table>
		<br />
		<h3>Other Actions</h3>
		<select>
			<option>Delete Selected</option>
		</select>
		<input type="submit" class="btn btn-danger fa" value="&#xf014; Delete" /><commit_msg>Fixed the Up/Down order Buttons<commit_after>{% extends 'CorvusAdminBundle:Default:adminBase.html.twig' %}

{% block breadcrumbs %}
	<li class="active">Education</li>
{% endblock %}

{% block mainContent %}
    <h2>Education</h2>
    <div class="well">
		These are all the education details stored in Corvus. This will be used to display details of your Education in the portfolio.
		It will also be included in the downloadable CV <span class="label label-info">Coming Soon</span>.
	</div>
    
    <form action="{{ path('CorvusAdminBundle_DeleteEducation') }}" method="post" id="educationform" name="educationform">
		<table class="table table-bordered table-hover table-striped">
			<tfoot>
				<tr><td colspan="6"><a href="{{ path('CorvusAdminBundle_NewEducation') }}" class="btn btn-primary">New</a></td></tr>
			</tfoot>
			<thead>
				<tr><th><input type="checkbox" id="selectAll" /></th>
				<th>Order</th>
				<th>Education Institute</th>
				<th>Qualification</th>
				<th>Result</th>
				<th>Actions</th></tr>
			</thead>
			<tbody>
				{% for item in form.education %}
					<tr>
						<td>{{ form_widget(item.check, { 'value' : item.vars.value.id }) }}</td>
						<td>{{ item.vars.value.rowOrder }}
							{% if form.education|length > 1 %}
								<div class="btn-group btn-group-xs">
									{% if loop.first == true %}
										<a href="{{ path('CorvusAdminBundle_UpEducationOrder', { id : item.vars.value.id }) }}" class="btn btn-default disabled">
											<i class="fa fa-level-up"></i>
										</a>
									{% else %}
										<a href="{{ path('CorvusAdminBundle_UpEducationOrder', { id : item.vars.value.id }) }}" class="btn btn-default"> 
											<i class="fa fa-level-up"></i>
										</a>
									{% endif %}
									{% if loop.last == false %}
										<a href="{{ path('CorvusAdminBundle_DownEducationOrder', { id : item.vars.value.id }) }}" class="btn btn-default">
											<i class="fa fa-level-down"></i>
										</a>
									{% else %}
										<a href="{{ path('CorvusAdminBundle_DownEducationOrder', { id : item.vars.value.id }) }}" class="btn btn-default disabled">
											<i class="fa fa-level-down"></i>
										</a>
									{% endif %}
								</div>
							{% endif %}
						</td>
						<td>{{ item.vars.value.educationinstitute }}</td>
						<td>{{ item.vars.value.qualification }}</td>
						<td>{{ item.vars.value.result }}</td>
						<td>
							<a href="{{ path('CorvusAdminBundle_EditEducation', { id : item.vars.value.id }) }}" class="btn btn-primary btn-xs">
								<i class="fa fa-pencil-square-o"></i> Edit
							</a>
							<a href="{{ path('CorvusAdminBundle_DeleteEducationId', { id : item.vars.value.id }) }}" class="btn btn-danger btn-xs">
								<i class="fa fa-trash-o"></i> Delete
							</a>
						</td>
					</tr>
				{% endfor %}
			</tbody>
		</table>
		<br />
		<h3>Other Actions</h3>
		<select>
			<option>Delete Selected</option>
		</select>
		<input type="submit" class="btn btn-danger fa" value="&#xf014; Delete" />
{'fraction_non_alphanumeric': 0.19554118447923757, 'fraction_numerical': 0.0030633083730428863, 'mean_word_length': 2.7648942985265856, 'pattern_counts': {'":': 0, '<': 173, '<?xml version=': 0, '>': 175, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6272344', 'n_tokens_mistral': 2695, 'n_tokens_neox': 1931, 'n_words': 418}