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

Changing the view orginisation

parent a387c6be
@extends('core::layouts.master') @extends('core::layouts.master')
@section('content-header') @section('content-header')
<h1> <h1>
New Role New Role
</h1> </h1>
<ol class="breadcrumb"> <ol class="breadcrumb">
<li><a href="{{ URL::route('dashboard.index') }}"><i class="fa fa-dashboard"></i> Home</a></li> <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=""><a href="{{ URL::route('dashboard.role.index') }}">Roles</a></li>
<li class="active">New</li> <li class="active">New</li>
</ol> </ol>
@stop @stop
@section('styles') @section('styles')
<link href="{{{ core_asset('css/vendor/iCheck/flat/blue.css') }}}" rel="stylesheet" type="text/css" /> <link href="{{{ core_asset('css/vendor/iCheck/flat/blue.css') }}}" rel="stylesheet" type="text/css" />
@stop @stop
@section('content') @section('content')
{!! Form::open(['route' => 'dashboard.role.store', 'method' => 'post']) !!}
<div class="row"> <div class="row">
<div class="col-md-12"> <div class="col-md-12">
{!! Form::open(['route' => 'dashboard.role.store', 'method' => 'post']) !!}
<div class="nav-tabs-custom"> <div class="nav-tabs-custom">
<ul class="nav nav-tabs"> <ul class="nav nav-tabs">
<li class="active"><a href="#tab_1-1" data-toggle="tab">Data</a></li> <li class="active"><a href="#tab_1-1" data-toggle="tab">Data</a></li>
...@@ -57,9 +57,9 @@ ...@@ -57,9 +57,9 @@
</div> </div>
</div> </div>
</div> </div>
{!! Form::close() !!}
</div> </div>
</div> </div>
{!! Form::close() !!}
@stop @stop
@section('scripts') @section('scripts')
......
...@@ -16,9 +16,9 @@ ...@@ -16,9 +16,9 @@
@stop @stop
@section('content') @section('content')
{!! Form::open(['route' => ['dashboard.role.update', $role->id], 'method' => 'put']) !!}
<div class="row"> <div class="row">
<div class="col-md-12"> <div class="col-md-12">
{!! Form::open(['route' => ['dashboard.role.update', $role->id], 'method' => 'put']) !!}
<div class="nav-tabs-custom"> <div class="nav-tabs-custom">
<ul class="nav nav-tabs"> <ul class="nav nav-tabs">
<li class="active"><a href="#tab_1-1" data-toggle="tab">Data</a></li> <li class="active"><a href="#tab_1-1" data-toggle="tab">Data</a></li>
...@@ -68,14 +68,15 @@ ...@@ -68,14 +68,15 @@
</div> </div>
</div> </div>
</div> </div>
<div class="box-footer">
<button type="submit" class="btn btn-primary btn-flat">Update</button> <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> <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><!-- /.tab-content -->
</div> </div>
{!! Form::close() !!}
</div> </div>
</div> </div>
{!! Form::close() !!}
@stop @stop
@section('scripts') @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