Commit 6fd63648 authored by Nicolas Widart's avatar Nicolas Widart

Changing the view orginisation

parent a387c6be
@extends('core::layouts.master')
@section('content-header')
<h1>
New Role
</h1>
<ol class="breadcrumb">
<li><a href="{{ URL::route('dashboard.index') }}"><i class="fa fa-dashboard"></i> Home</a></li>
<li class=""><a href="{{ URL::route('dashboard.role.index') }}">Roles</a></li>
<li class="active">New</li>
</ol>
@stop
<h1>
New Role
</h1>
<ol class="breadcrumb">
<li><a href="{{ URL::route('dashboard.index') }}"><i class="fa fa-dashboard"></i> Home</a></li>
<li class=""><a href="{{ URL::route('dashboard.role.index') }}">Roles</a></li>
<li class="active">New</li>
</ol>
@stop
@section('styles')
<link href="{{{ core_asset('css/vendor/iCheck/flat/blue.css') }}}" rel="stylesheet" type="text/css" />
@stop
@section('content')
{!! Form::open(['route' => 'dashboard.role.store', 'method' => 'post']) !!}
<div class="row">
<div class="col-md-12">
{!! Form::open(['route' => 'dashboard.role.store', 'method' => 'post']) !!}
<div class="nav-tabs-custom">
<ul class="nav nav-tabs">
<li class="active"><a href="#tab_1-1" data-toggle="tab">Data</a></li>
......@@ -57,9 +57,9 @@
</div>
</div>
</div>
{!! Form::close() !!}
</div>
</div>
{!! Form::close() !!}
@stop
@section('scripts')
......
......@@ -16,9 +16,9 @@
@stop
@section('content')
{!! Form::open(['route' => ['dashboard.role.update', $role->id], 'method' => 'put']) !!}
<div class="row">
<div class="col-md-12">
{!! Form::open(['route' => ['dashboard.role.update', $role->id], 'method' => 'put']) !!}
<div class="nav-tabs-custom">
<ul class="nav nav-tabs">
<li class="active"><a href="#tab_1-1" data-toggle="tab">Data</a></li>
......@@ -68,14 +68,15 @@
</div>
</div>
</div>
<button type="submit" class="btn btn-primary btn-flat">Update</button>
<a class="btn btn-danger pull-right btn-flat" href="{{ URL::route('dashboard.role.index')}}"><i class="fa fa-times"></i> Cancel</a>
<div class="box-footer">
<button type="submit" class="btn btn-primary btn-flat">Update</button>
<a class="btn btn-danger pull-right btn-flat" href="{{ URL::route('dashboard.role.index')}}"><i class="fa fa-times"></i> Cancel</a>
</div>
</div><!-- /.tab-content -->
</div>
{!! Form::close() !!}
</div>
</div>
{!! Form::close() !!}
@stop
@section('scripts')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment