This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="col-xs-4 col-md-4"> | |
<label for=""> </label> | |
{{Form::select('expiry_type', | |
\Dao\ServiceCardTemplate::$dayUnit,, | |
array( | |
'id'=>'expiry_unit', | |
'class'=>'form-control', | |
'ng-model'=>'expiry_type' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<select ng-model="selectTag" ng-options="k as v for (k,v) in selectList"></select> | |
選択された値 = @{{ selectTag }} | |
$scope.selectList = { | |
10: "睦月", | |
2: "如月", | |
3: "弥生", | |
4: "卯月" | |
}; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var getItemLists = function () { | |
var data = { | |
'item_dealer_id': global.dealer_id, | |
'skip': _skipCountItemLIst | |
}; | |
var req = { | |
method: 'POST', |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<form name="form"> | |
<input id="" | |
type="text" | |
class="form-control w400_h40_auto margin_b_20_1" | |
placeholder="名称" | |
name="boardName" | |
ng-model="boardName" | |
ng-minlength="5" | |
ng-maxlength="20" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ng-required="hoge.interval==='w2'" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div ng-controller="TestCtrl as test"> | |
<select ng-model="test.selectedItem" ng-options="item as item.name for item in test.items"></select> | |
<pre>@{{test.selectedItem | json}}</pre> | |
</div> | |
app.controller('TestCtrl', function ($scope) { | |
this.items = [ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<select | |
ng-model="selectedMonth" | |
ng-change="select()" | |
ng-options="month as month.label for month in months"></select> | |
<input type="hidden" name="test" value="@{{selectedMonth.num}}"> | |
@{{selectedMonth.label | json}} | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<select | |
ng-model="select2" | |
ng-options="list as list.label for list in list2" | |
class="form-control" | |
></select> | |
<set-select-default list-array="list2" | |
list-key="num" | |
model-name="select2" | |
default-value="<?php echo $SCT->expiry_unit ?>"> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$response = $this->call( | |
'POST', | |
'/api/user/login', | |
[], | |
[], | |
[], | |
['HTTP_Content-Type' => 'application/json'], | |
[json_encode($param)] | |
); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Following the guide found at this page | |
# http://programmingarehard.com/2014/03/17/behat-and-selenium-in-vagrant.html | |
echo "\r\nUpdating system ...\r\n" | |
sudo apt-get update | |
# Create folder to place selenium in |