Sponsor dashboard added, with sponsor component for splash page
This commit is contained in:
parent
643b8b173a
commit
ea119a8158
36 changed files with 549 additions and 12 deletions
11
app/views/admin/organizations/_form.html.haml
Normal file
11
app/views/admin/organizations/_form.html.haml
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
= semantic_form_for [:admin, @organization] do |f|
|
||||
= f.inputs "Basic Information" do
|
||||
= f.input :title, as: :string
|
||||
= f.input :email_id, as: :string
|
||||
= f.input :website_url, as: :string
|
||||
= f.input :description
|
||||
- if !@organization.photo.blank?
|
||||
= image_tag @organization.photo(:thumb)
|
||||
= f.input :photo
|
||||
= f.actions do
|
||||
= f.action :submit, :button_html => {:class => "btn primary"}
|
||||
Loading…
Add table
Add a link
Reference in a new issue