Skip to content

Instantly share code, notes, and snippets.

@Malintha

Malintha/form.html Secret

Created Oct 24, 2016
Embed
What would you like to do?
<form method='post' class="form-horizontal" action="/publisher/apis/assets?type=widget" id="form-asset-create" name ="form-asset-create" data-redirect-url='{{url ""}}/assets/{{rxt.shortName}}/list' >
<div class="form-group">
<label class="custom-form-label col-lg-2 col-md-2 col-sm-12 col-xs-12" for="overview_provider">{{t "Provider"}}<sup class="text-danger"> *</sup></label>
<div class="custom-form-right col-lg-5 col-md-8 col-sm-8 col-xs-12">
<input type='text' name='overview_provider' id='overview_provider' class="form-control validate-required" placeholder="Enter your Age here!" readonly value={{this.cuser.username}}>
</div>
</div>
<div class="form-group">
<p style="margin-left:18%;"><i class="fa fa-info">&nbsp;This is a tip for you! You have to enter your name here, not the age!</i></p>
<label class="custom-form-label col-lg-2 col-md-2 col-sm-12 col-xs-12" for="overview_name">{{t "Name"}}<sup class="text-danger"> *</sup></label>
<div class="custom-form-right col-lg-5 col-md-8 col-sm-8 col-xs-12">
<input type='text' name='overview_name' id='overview_name' class="form-control" placeholder="Enter your name here!"/>
</div>
</div>
<div class="form-group">
<label class="custom-form-label col-lg-2 col-md-2 col-sm-12 col-xs-12" for="overview_version">{{t "Version"}}<sup class="text-danger"> *</sup></label>
<div class="custom-form-right col-lg-5 col-md-8 col-sm-8 col-xs-12">
<input type='text' name='overview_version' id='overview_version' class="form-control validate-required" placeholder="Enter your version here!"/>
</div>
</div>
<div class="form-group">
<label class="custom-form-label col-lg-2 col-md-2 col-sm-12 col-xs-12" for="overview_age">{{t "Age"}}<sup class="text-danger"> *</sup></label>
<div class="custom-form-right col-lg-5 col-md-8 col-sm-8 col-xs-12">
<input type='text' name='overview_age' id='overview_age' class="form-control validate-required" placeholder="Enter your Age here!"/>
</div>
</div>
<div class="form-group" id="saveButtons">
<div class="col-sm-offset-2 col-sm-10">
<input type='submit' id="btn-create-asset" class="btn btn-primary" name="addNewAssetButton" value='{{t "Create"}}'>
<button class="btn btn-default" type="reset">{{t "Reset"}}</button>
<input type="hidden" value="{{rxt.shortName}}" name="{{rxt.shortName}}" id="meta-asset-type">
</div>
</div>
</form>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.