Created
November 11, 2015 14:08
-
-
Save anonymous/c86dc003a34c972e08bb to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var eventRoutes = FlowRouter.group({ | |
| prefix:'/event', | |
| name: 'event' | |
| }); | |
| eventRoutes.route('/create', { | |
| name: 'eventCreate', | |
| action: function() { | |
| BlazeLayout.render('layout', { | |
| nav: 'navigation', | |
| main: 'eventCreate' | |
| }); | |
| } | |
| }); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <template name="eventCreate"> | |
| <div class="ui main container"> | |
| <h2 class="ui dividing header">Event Creation</h2> | |
| <div class="ui ten wide column"> | |
| <form class="ui form" id="createEventForm"> | |
| <div class="field"> | |
| <label>Event Name:</label> | |
| <input type="text" name="name" placeholder="Name..."> | |
| </div> | |
| <div class="field"> | |
| <label>Event Description:</label> | |
| <input type="text" name="desc" placeholder="Brief Description..."> | |
| </div> | |
| <div class="two fields"> | |
| <div class="field"> | |
| <label>Begin Date/Time:</label> | |
| <input class="ui dropdown datetimepicker" name="begin" type="text"/> | |
| </div> | |
| <div class="field"> | |
| <label>End Date/Time:</label> | |
| <input class="ui dropdown datetimepicker" name="end" type="text"/> | |
| </div> | |
| </div> | |
| <div class="ui error message"></div> | |
| <button class="ui vertical large green animated button" type="submit" tabindex="0"> | |
| <div class="visible content">Create Event</div> | |
| <div class="hidden content"> | |
| <i class="right arrow icon"></i> | |
| </div> | |
| </button> | |
| </form> | |
| </div> | |
| </div> | |
| </template> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment