Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Paul Sørensen 304 posts 650 karma points
    Jan 16, 2016 @ 20:33
    Paul Sørensen
    0

    Formatting entry form in Custom Section

    Hi I'm building a custom section but the formatting of the entry form is not good. Then input field is right aligned but one line down. I would like it to be on the same line as the label.

    Also, how to I add a datepicker to my date fields

    Gem

    <div class="umb-panel-body">
        <div class="umb-pane">
    
            <umb-control-group label="Dato" description="Dato for turen">
                <input data-format="dd-MM-yyyy" type="text" name="starttime" ng-model="tour.StartDate"
                        id="inputDate" />
                <span class="add-on">
                    <i data-time-icon="icon-time" data-date-icon="icon-calendar"></i>
                </span>
            </umb-control-group>
    
            <umb-control-group label="Sidste tilmelding" description="">
                    <input data-format="dd-MM-yyyy" type="text" name="starttime" ng-model="tour.LastRegistrationDate"
                           id="inputDate" />
                    <span class="add-on">
                        <i data-time-icon="icon-time" data-date-icon="icon-calendar"></i>
                    </span>
    

    Hope someone has an idea

    Thanks Paul S

Please Sign in or register to post replies

Write your reply to:

Draft