<?php
	// Assets::add( 'jquery.form' );
	Assets::add( 'downloads.min.js' );
?>
<?php $__env->startSection( 'content' ); ?>
<div class="cc" id="main-content">
	<h1>دانلودها</h1>
	<div id="downloads-archive">
		<div class="pure-g">
			<?php foreach( $downloads as $download ): ?>
				<div class="download pure-u-1-2 pure-u-md-1-3 pure-u-lg-1-6 l-box">
					<a href="<?php echo route( 'download', array( $download->id ) ); ?>">
						<div class="filetype filetype-<?php echo $download->Attachments[ 0 ]->filetype_css_class; ?>"></div>
						<h2><?php echo $download->name; ?></h2>
					</a>
				</div>
			<?php endforeach; ?>
		</div>
	</div>
	
	<?php echo $downloads->links(); ?>

</div>
<?php $__env->stopSection(); ?>