@extends($layout) @section('header_scripts') @stop @section('content')

{{ $title }}

{!! Form::open(array('url' => URL_STUDENT_UPLOAD_ASSIGNMENT, 'method' => 'POST', 'name'=>'formAssigment ', 'novalidate'=>'','files'=>TRUE )) !!} @if($reached)
Note : {{getPhrase('your_last_date_to_submit_is_over_so_you_are_unable_to_submit_your_assignment')}}
@endif @if($details->file_name) @else @endif
{{getPhrase('assignment_name')}} {{ucwords($details->title)}} {{getPhrase('subject')}} {{ucwords($details->subject_title)}}
{{getPhrase('staff')}} {{ucwords($details->name)}} {{getPhrase('last_date_to_submit')}} {{$details->deadline}}
{{getPhrase('assignment_file')}}

{{ucwords($details->file_name)}}

-{{getPhrase('description')}} {!! ucwords(nl2br($details->description))!!}
@if(!$reached)
{{ Form::label('category', getphrase('upload_your_assignment')) }}
{{ Form::label('user_comments', getphrase('Message')) }} * {{ Form::text('user_comments', $value = $details->user_comments , $attributes = array('class'=>'form-control', 'placeholder' => getPhrase('Message'), 'ng-model'=>'user_comments', 'required'=> 'true', 'ng-class'=>'{"has-error": formAssigment.user_comments.$touched && formAssigment.user_comments.$invalid}', )) }}
{!! getValidationMessage()!!}
@endif
{{ Form::label('user_comments', getphrase('Your Attachment')) }}
@if($details->user_file)

{{ucwords($details->user_file)}}

@endif
@if($reached) {{ Form::label('user_comments', getphrase('Your Message')) }}
{{ $details->user_comments }} @endif
@if(!$reached)
@endif {!! Form::close() !!}
@endsection @section('footer_scripts') @stop