mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2024-12-05 16:24:21 +01:00
68 lines
2.1 KiB
HTML
68 lines
2.1 KiB
HTML
<div>
|
|
|
|
<section class="heading b-b">
|
|
<div class="row no-gutter">
|
|
<div class="col-md-1 hidden-xs">
|
|
<section class="heading-btn">
|
|
<a ng-click="cancel()"><i class="fas fa-long-arrow-alt-left"></i></a>
|
|
</section>
|
|
</div>
|
|
<div class="col-md-8 b-l b-r">
|
|
<section class="heading-title">
|
|
<h1 translate>{{ 'app.admin.members_new.add_a_member' }}</h1>
|
|
</section>
|
|
|
|
</div>
|
|
|
|
<div class="col-md-3">
|
|
<section class="heading-actions wrapper">
|
|
<div class="btn btn-lg btn-block btn-default m-t-xs" ng-click="cancel()" translate>
|
|
{{ 'app.shared.buttons.cancel' }}
|
|
</div>
|
|
</section>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</section>
|
|
|
|
|
|
<div class="row no-gutter">
|
|
<div class=" col-sm-12 col-md-9 b-r nopadding">
|
|
|
|
<form role="form" name="userForm" class="form-horizontal" novalidate action="{{ actionUrl }}" ng-upload="submited(content)" upload-options-enable-rails-csrf="true">
|
|
|
|
<section class="panel panel-default bg-light m-lg">
|
|
<div class="panel-body m-r">
|
|
|
|
<div class="row m-t">
|
|
<div class="col-sm-6 col-sm-offset-5">
|
|
<div class="form-group checkbox-group">
|
|
<input type="checkbox"
|
|
name="organization"
|
|
id="organization"
|
|
ng-model="user.organization"
|
|
ng-change="toggleOrganization()"
|
|
value="false"/>
|
|
<label for="organization" translate>{{ 'app.admin.members_new.user_is_an_organization' }}</label>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<ng-include src="'/shared/_member_form.html'"></ng-include>
|
|
|
|
<ng-include src="'/admin/members/_form.html'"></ng-include>
|
|
</div> <!-- ./panel-body -->
|
|
|
|
|
|
<div class="panel-footer no-padder">
|
|
<input type="submit" value="{{ 'app.shared.buttons.save' | translate }}" class="r-b btn-valid btn btn-warning btn-block p-lg btn-lg text-u-c" ng-disabled="userForm.$invalid"/>
|
|
</div>
|
|
</section>
|
|
</form>
|
|
|
|
</div>
|
|
</div>
|
|
</div>
|