306 project modal update

You don't know what wizard mode means?

Come on Roy! :)


On Tue, Sep 2, 2014 at 2:56 PM, Roy Rutto <notifications@github.com> wrote:

> In src/clj/ona/viewer/templates/modals.clj:
>
> > @@ -12,3 +19,39 @@
> >    [:div.modal-body :ul.form-list [:li first-of-type]] (clone-for
> >                                                          [dataset datasets]
> >                                                          [:strong] (content (:title dataset))))
> > +
> > +(defsnippet project-share-dialog "templates/project/share.html"
> > +  [:body :#share-dialog]
> > +  [username project users wizard-mode]
> > +  [:#project-name] (content (:name project))
> > +  [[:input (attr= :name "project-id")]] (set-attr :value (:id project))
> > +  [[:input (attr= :name "default-role")]] (set-attr :value "readonly")
> > +  [:a.back] (if wizard-mode true)
>
> does (if wizard-mode true) show [a.back]? Sorry I don't understand what
> it does here.
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/onaio/zebra/pull/419/files#r16982647>.
>