       Hello <%= @name %>
 
   The `.eex` extension is called a template engine which tells Phoenix how
-  to compile the code in the file into actual Elixir source code. After compiled,
-  the template can be rendered as:
+  to compile the code in the file into actual Elixir source code. After it is 
+  compiled, the template can be rendered as:
 
       Phoenix.View.render(YourApp.UserView, "index.html", name: "John Doe")
       #=> {:safe, "Hello John Doe"}
 
-  We will discuss rendering with detail next.
+  We will discuss rendering in detail next.
 
   ## Rendering
 
-  The main responsability of a view is to render a template.
-
-  A template has a name, which is also contains a format. For example,
+  The main responsibility of a view is to render a template.
+
+  A template has a name, which also contains a format. For example,
   in the previous section we have rendered the "index.html" template:
 
       Phoenix.View.render(YourApp.UserView, "index.html", name: "John Doe")

  application.

  The view layer also contains conveniences for rendering templates,
  including support for layours and encoders per format.

  ## Examples

  First, define the main view module:

      defmodule YourApp.View do
        use Phoenix.View, root: "web/templates"

        # Everything in this block is available runs in this
        # module and in other views that use YourApp.View
        using do
          # Import common functionality
          import YourApp.I18n

      defmodule YourApp.UserView do
        use YourApp.View

        def render("show.json", %{user: user}) do
          %{name: user.name, address: user.address}
        end
      end

  Notice that in order to render JSON data, we don't need to explicitly
  return a JSON string! Instead, we just return data that is encodable to
  JSON.

  Both JSON and HTML formats will be encoded only when passing the data
