README.md in unirer-bootstrap-0.1 vs README.md in unirer-bootstrap-0.2
- old
+ new
@@ -1,8 +1,9 @@
# Unirer Bootstrap
[](http://opensource.org/licenses/MIT)
+[](https://badge.fury.io/rb/unirer-bootstrap)
Unirer (UNIfied Resource Representation) is a series of resource representation engines. The Bootstrap resource representation engine includes Bootstrap-based resource representation templates & snippets.
Unirer (统一资源表现)是一系列的资源表现引擎。Bootstrap 资源表现引擎包括基于Bootstrap的资源表现模版和片段。
## Usage in Gemfile:
@@ -10,9 +11,10 @@
gem 'unirer-bootstrap'
```
## Include the Concern in Controllers & Respond the Calls:
```erb
+<%= render partial: 'unirer/bootstrap/meta' %>
<%= render partial: 'unirer/bootstrap/script' %>
<%= render partial: 'unirer/bootstrap/style' %>
<%= render partial: 'unirer/bootstrap/form_field', locals: { model: model, form: f, name: :phone_number, type: :tel_field } %>
```