Skip to content

Commit

Permalink
Merge pull request #19 from NetCommons3/hotfix/fixLanguage
Browse files Browse the repository at this point in the history
言語修正とフォームデザイン修正
  • Loading branch information
RyujiAMANO committed May 25, 2016
2 parents 3244cd9 + 3515c73 commit 411d48a
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 deletions.
5 changes: 5 additions & 0 deletions Locale/jpn/LC_MESSAGES/tags.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
msgid "tag"
msgstr "タグ"

msgid "Add tag"
msgstr "タグ追加"
10 changes: 5 additions & 5 deletions View/Elements/tag_form.ctp
Original file line number Diff line number Diff line change
Expand Up @@ -11,18 +11,18 @@ if ($tagData) {
$tagsJson = json_encode(array());
}
?>
<div class="form-group"
<div class="form-group form-inline"
ng-controller="Tags.TagEdit"
ng-init="init(<?php printf("%d, '%s', %s", Current::read('Frame.id'), $modelName, h($tagsJson)) ?>)">

<label class="control-label">
<?php echo __d('blogs', 'tag'); ?>
<?php echo __d('tags', 'tag'); ?>
</label>

<div>
<input type="text" ng-model="newTag" ng-change="change()"/>
<button type="button" class="btn btn-success btn-xs" ng-click="addTag()">
<span class=""><?php echo __d('blogs', 'Add tag') ?></span>
<input type="text" ng-model="newTag" ng-change="change()" class="form-control"/>
<button type="button" class="btn btn-success btn-s" ng-click="addTag()">
<span class=""><?php echo __d('tags', 'Add tag') ?></span>
</button>
</div>

Expand Down

0 comments on commit 411d48a

Please sign in to comment.