mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 15:35:15 +00:00
First attempt at basic tag functionality.
This commit is contained in:
14
resources/views/form/location.blade.php
Normal file
14
resources/views/form/location.blade.php
Normal file
@@ -0,0 +1,14 @@
|
||||
<div class="{{{$classes}}}">
|
||||
<label for="{{{$options['id']}}}" class="col-sm-4 control-label">{{{$label}}}</label>
|
||||
<div class="col-sm-8">
|
||||
<div id="map-canvas" style="width:100%;height:300px;"></div>
|
||||
<p class="help-block">Right-click to set the tag's location.
|
||||
<a href="#" id="clearLocation">Clear location</a>
|
||||
</p>
|
||||
<input type="hidden" name="latitude" value="" />
|
||||
<input type="hidden" name="longitude" value="" />
|
||||
<input type="hidden" name="zoomLevel" value="6" />
|
||||
<input type="hidden" name="setTag" value="" />
|
||||
@include('form.feedback')
|
||||
</div>
|
||||
</div>
|
16
resources/views/form/multiRadio.blade.php
Normal file
16
resources/views/form/multiRadio.blade.php
Normal file
@@ -0,0 +1,16 @@
|
||||
<div class="{{{$classes}}}">
|
||||
<label for="{{{$options['id']}}}" class="col-sm-4 control-label">{{{$label}}}</label>
|
||||
<div class="col-sm-8">
|
||||
@foreach($list as $value => $description)
|
||||
<div class="radio">
|
||||
<label>
|
||||
{!! Form::radio($name, $value, ($selected == $value), $options) !!}
|
||||
{{$description}}
|
||||
</label>
|
||||
</div>
|
||||
@endforeach
|
||||
@include('form.help')
|
||||
@include('form.feedback')
|
||||
|
||||
</div>
|
||||
</div>
|
7
resources/views/form/textarea.blade.php
Normal file
7
resources/views/form/textarea.blade.php
Normal file
@@ -0,0 +1,7 @@
|
||||
<div class="{{{$classes}}}">
|
||||
<label for="{{{$options['id']}}}" class="col-sm-4 control-label">{{{$label}}}</label>
|
||||
<div class="col-sm-8">
|
||||
{!! Form::textarea($name, $value, $options) !!}
|
||||
@include('form.feedback')
|
||||
</div>
|
||||
</div>
|
Reference in New Issue
Block a user