Skip to content

Commit

Permalink
edit date template update
Browse files Browse the repository at this point in the history
  • Loading branch information
Ayukha committed Feb 20, 2019
1 parent 518bfbd commit 5d6055e
Showing 1 changed file with 38 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
<section class="ev-md-container text-center rm-overflow-y">
<div class="row">
<div class="col s12 m12">
<div class="ev-card-body pd-20 font-size-16">
<form name="editChallengeDateForm" ng-submit="challenge.editChallengeDate(editChallengeDateForm.$valid)">
<div class="pass-date">Edit Challenge Date</div>
<div class="input-field align-left">

<input
focus-if="challenge.page.start_date"
value="{{challenge.page.start_date}}"
ng-model="challenge.page.start_date"
ng-model-options="{ updateOn: 'blur' }"
moment-picker="challenge.editChallengeDate">

<input
focus-if="challenge.page.end_date"
value="{{challenge.page.end_date}}"
ng-model="challenge.page.end_date"
ng-model-options="{ updateOn: 'blur' }"
moment-picker="challenge.editChallengeDate">

<div moment-picker="myDate"> {{ myDate }} </div>

</div>
<ul class="inline-list pointer">
<li>
<a ng-click="challenge.editChallengeDate(false)" class="dark-link pointer"><strong>Cancel</strong></a>
</li>
<li>
<button class="btn ev-btn-dark waves-effect waves-dark grad-btn grad-btn-dark fs-14" ng-disabled="editChallengeDateForm.$pristine" type="submit" value="submit">Submit</button>
</li>
</ul>
</form>
</div>
</div>
</div>
</section>

0 comments on commit 5d6055e

Please sign in to comment.