1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2024-12-12 23:09:03 +01:00
fab-manager/app/assets/templates/admin/members/new.html.erb

53 lines
1.5 KiB
Plaintext
Raw Normal View History

2015-05-05 03:10:25 +02:00
<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="fa fa-long-arrow-left"></i></a>
</section>
</div>
<div class="col-md-8 b-l b-r">
<section class="heading-title">
2016-03-23 18:39:41 +01:00
<h1 translate>{{ 'add_a_member' }}</h1>
2015-05-05 03:10:25 +02:00
</section>
</div>
<div class="col-md-3">
<section class="heading-actions wrapper">
2016-03-23 18:39:41 +01:00
<div class="btn btn-lg btn-block btn-default m-t-xs" ng-click="cancel()" translate>
{{ 'cancel' }}
2015-05-05 03:10:25 +02:00
</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">
<ng-include src="'<%= asset_path 'shared/_member_form.html' %>'"></ng-include>
<ng-include src="'<%= asset_path 'admin/members/_form.html' %>'"></ng-include>
</div> <!-- ./panel-body -->
<div class="panel-footer no-padder">
2016-03-23 18:39:41 +01:00
<input type="submit" value="{{ 'save' | translate }}" class="r-b btn-valid btn btn-warning btn-block p-lg btn-lg text-u-c" ng-disabled="userForm.$invalid"/>
2015-05-05 03:10:25 +02:00
</div>
</section>
</form>
</div>
</div>
</div>