@extends('layout.default') @if($mode == 'edit') @section('title', $L('Edit habit')) @else @section('title', $L('Create habit')) @endif @section('viewJsName', 'habitform') @section('content')

@yield('title')

@if($mode == 'edit') @endif
{{ $L('A name is required') }}
{{ $L('A period type is required') }}
{{ $L('This cannot be negative') }}

@stop