tweak text

This commit is contained in:
cornernote 2015-08-10 10:51:41 +09:30
parent e7136c02a0
commit 8f8502e89b
3 changed files with 4 additions and 4 deletions

View File

@ -12,9 +12,9 @@ use yii\widgets\ActiveForm;
<?php $form = ActiveForm::begin(); ?>
<?= $form->field($model, 'name')->textInput(['maxlength' => true])->hint('The name of the mod package. For example: <code>my_mod</code>') ?>
<?= $form->field($model, 'name')->textInput(['maxlength' => true])->hint('The name of the mod. For example: <code>rainbows</code>') ?>
<?= $form->field($model, 'url')->textInput(['maxlength' => true])->hint('The git endpoint URL. For example: <code>https://github.com/my_username/minetest-my_mod.git</code>') ?>
<?= $form->field($model, 'url')->textInput(['maxlength' => true])->hint('The associated git URL. For example: <code>https://github.com/user/rainbows.git</code>') ?>
<div class="form-group">
<?= Html::submitButton($model->isNewRecord ? 'Create' : 'Update', ['class' => $model->isNewRecord ? 'btn btn-success' : 'btn btn-primary']) ?>

View File

@ -6,7 +6,7 @@ use yii\helpers\Html;
/* @var $this yii\web\View */
/* @var $model app\models\Package */
$this->title = 'Submit Mod';
$this->title = 'Submit a Mod';
$this->params['breadcrumbs'][] = ['label' => 'Mods', 'url' => ['index']];
$this->params['breadcrumbs'][] = $this->title;
?>

View File

@ -63,7 +63,7 @@ $ bower search rainbow</pre>
# for example
$ bower register rainbows https://github.com/user/rainbows.git</pre>
<p>Optionally, to add more information about your mod such as description, screenshots, and your own remarks, you can submit a JSON file along with your mod. To do so add a <code>bower.json</code> file to to your mod's git repository. For the format to be used, <?= Html::a('click here', ['/docs/bower-format']); ?>.</p>
<p>Optionally, to add more information about your mod such as description, screenshots, authors and licence, you can submit a JSON file along with your mod. To do so add a <code>bower.json</code> file to to your mod's git repository. For the format to be used, <?= Html::a('click here', ['/docs/bower-format']); ?>.</p>
</div>
</div>