コード例 #1
0
ファイル: background.php プロジェクト: brslv/nanozen_cms
				<?php 
echo Form::start('/settings/background/color', 'POST', ['enctype' => 'multipart/form-data'], false);
?>
					<?php 
echo Form::hidden('_token', $token);
?>

					<div class="panel panel-default">
						<div class="panel-heading">Choose background color: </div>

						<div class="panel-body">
							<?php 
echo Form::text('app_background_color', ['class' => 'form-control', 'value' => $app_background_color], $app_background_color);
?>
						</div>
					</div>

					<?php 
echo Form::submit('colorBackground', 'Save', ['class' => 'btn btn-success']);
?>
				<?php 
echo Form::stop();
?>

			</div>

		</div>
	</main>
<?php 
include app_footer();
コード例 #2
0
ファイル: register.php プロジェクト: brslv/nanozen_cms
echo Form::text('username', ['class' => 'form-control', 'placeholder' => 'Username']);
?>
				</div>

				<div class="form-group">
					<?php 
echo Form::email('email', ['class' => 'form-control', 'placeholder' => 'Email']);
?>
				</div>

				<div class="form-group">
					<?php 
echo Form::password('password', ['class' => 'form-control', 'placeholder' => 'Password']);
?>
				</div>

				<div class="form-group">
					<?php 
echo Form::submit('registerButton', 'Register', ['class' => 'btn btn-success']);
?>
				</div>
			<?php 
echo Form::stop();
?>

		</div>
	</main>

<?php 
include_once app_footer();