MVPEEEE #7
|
@ -181,8 +181,15 @@
|
|||
|
||||
<form accept-charset="UTF-8" action="" method="post">
|
||||
<input id="ratings-hidden" name="rating" type="hidden">
|
||||
<textarea class="form-control animated" cols="50" id="new-review" name="comment" placeholder="Enter your review here..." rows="5"></textarea>
|
||||
|
||||
<p class="text-right date"></p>
|
||||
<div class="form-group">
|
||||
<label for="usr">Name:</label>
|
||||
<input type="text" class="form-control" placeholder="Name..." id="usr">
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="usr">Review:</label>
|
||||
<input class="form-control animated" cols="50" id="new-review" name="comment" placeholder="Enter your review here..." rows="5">
|
||||
</div>
|
||||
<div class="text-right">
|
||||
|
||||
<div class="stars starrr" data-rating="0"></div>
|
||||
|
|
|
@ -55,4 +55,16 @@ $(function(){
|
|||
});
|
||||
|
||||
|
||||
var d = new Date();
|
||||
|
||||
var month = d.getMonth()+1;
|
||||
var day = d.getDate();
|
||||
|
||||
var output =
|
||||
|
||||
((''+day).length<2 ? '0' : '') + day + '/' +
|
||||
((''+month).length<2 ? '0' : '') + month + '/' +
|
||||
d.getFullYear();
|
||||
$(".date").append(output);
|
||||
|
||||
});
|
Loading…
Reference in New Issue