diff --git a/bower.json b/bower.json
index 832bd98..b3a3e1e 100644
--- a/bower.json
+++ b/bower.json
@@ -1,13 +1,12 @@
{
- "name": "ipub-form-phone",
- "description": "Forms control for adding phone filed for Nette Framework",
- "keywords": ["nette", "form", "phone", "ipub", "ipublikuj", "framework", "tools"],
+ "name": "ipub-form-slug",
+ "description": "Forms control for adding slug filed for Nette Framework",
+ "keywords": ["nette", "form", "slug", "ipub", "ipublikuj", "framework", "tools"],
"main": [
- "public/js/ipub.formPhone.js"
+ "public/js/ipub.formSlug.js"
],
"dependencies": {
- "jquery": "~2.1.0",
- "ipub-phone": "^1.2.0"
+ "jquery": "~2.1.0"
},
"authors": [
{
diff --git a/composer.json b/composer.json
index 1a5d25d..04ccd6e 100644
--- a/composer.json
+++ b/composer.json
@@ -1,9 +1,9 @@
{
- "name" : "ipub/form-phone",
+ "name" : "ipub/form-slug",
"type" : "library",
- "description" : "Forms control for adding phone filed for Nette Framework",
- "keywords" : ["nette", "form", "phone", "ipub", "ipublikuj", "framework", "tools"],
- "homepage" : "https://github.com/iPublikuj/form-phone",
+ "description" : "Forms control for adding slug filed for Nette Framework",
+ "keywords" : ["nette", "form", "sluggable", "ipub", "ipublikuj", "framework", "tools"],
+ "homepage" : "https://github.com/iPublikuj/form-slug",
"license" : ["GPL-2.0", "GPL-3.0"],
"authors": [
@@ -14,15 +14,13 @@
}
],
- "support": {
+ "support":{
"email" :"support@ipublikuj.eu",
- "issues" :"https://github.com/iPublikuj/form-phone/issues"
+ "issues" :"https://github.com/iPublikuj/form-slug/issues"
},
"require": {
- "php" : ">=7.0.0",
-
- "ipub/phone" : "~1.2",
+ "php" : ">=7.0",
"nette/application" : "~2.3@dev",
"nette/di" : "~2.3@dev",
@@ -46,7 +44,7 @@
"autoload": {
"psr-0": {
- "IPub\\FormPhone\\": "src/"
+ "IPub\\FormSlug\\": "src/"
}
}
}
diff --git a/docs/en/index.md b/docs/en/index.md
index 2cb9d22..f37f364 100644
--- a/docs/en/index.md
+++ b/docs/en/index.md
@@ -1,26 +1,26 @@
# Quickstart
-This extension extend your [Nette](http://nette.org) forms with phone control field with specific phone number validation, based on [iPublikuj:Phone!](https://github.com/iPublikuj/phone)
+This extension extend your [Nette](http://nette.org) forms with slug control field with automatic slug creation based on selected fields.
## Installation
-The best way to install ipub/form-phone is using [Composer](http://getcomposer.org/):
+The best way to install ipub/form-slug is using [Composer](http://getcomposer.org/):
```sh
-$ composer require ipub/form-phone
+$ composer require ipub/form-slug:@dev
```
After that you have to register extension in config.neon.
```neon
extensions:
- formPhone: IPub\FormPhone\DI\FormPhoneExtension
+ formSlug: IPub\FormSlug\DI\FormSlugExtension
```
And you also need to include static files into your page:
```html
-
+