Skip to content

Commit

Permalink
Tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
24aitor committed Apr 22, 2017
1 parent e02909e commit 392fa35
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions src/Views/laralum/create.blade.php
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
@php
$settings = \Laralum\Tickets\Models\Settings::first();
@endphp
@extends('laralum::layouts.master')
@section('icon', 'ion-plus-round')
@section('title', __('laralum_tickets::general.create_ticket'))
Expand Down Expand Up @@ -37,8 +40,12 @@

<div class="uk-margin">
<label class="uk-form-label">@lang('laralum_tickets::general.message')</label>
<textarea name="message" class="uk-textarea" rows="5" placeholder="@lang('laralum_tickets::general.message')">{{ old('message') }}</textarea>
<i>@lang('laralum_tickets::general.mkdown_supported')</i>
<textarea name="message" class="uk-textarea" rows="5" placeholder="{{ __('laralum_tickets::general.message') }}">{{ old('message') }}</textarea>
@if ($settings->text_editor == 'markdown')
<i>@lang('laralum_blog::general.markdown')</i>
@else
<i>@lang('laralum_blog::general.plain_text')</i>
@endif
</div>

<div class="uk-margin">
Expand Down

0 comments on commit 392fa35

Please sign in to comment.