-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
401423f
commit 6ea19f5
Showing
5 changed files
with
13 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,16 @@ | ||
= info_button "https://www.flickr.com/photos/organize/?start_tab=one_set#{@album.flickr_id}", "edit on Flickr" | ||
= button_with_icon 'Neu von Flickr laden', reload_from_flickr_admin_album_path(@album), 'repeat', :method => :put | ||
|
||
%br | ||
%h3= "flickr_id: #{@album.flickr_id}" | ||
= simple_form_for([:admin, @album]) do |f| | ||
= f.error_notification | ||
|
||
- (Album.attribute_names - ['id','visible', 'created_at', 'updated_at', 'slug']).each do |attr_name| | ||
= f.input attr_name | ||
= f.input :flickr_title | ||
= f.input :flickr_description | ||
= f.input :visible, :as => :boolean, :wrapper => :inline_checkbox | ||
= f.input :created_at, :as => :bootstrap_datepicker | ||
%br.clear | ||
= save_button | ||
= cancel_button :back | ||
= button_with_icon 'Neu von Flickr laden', reload_from_flickr_admin_album_path(@album), 'repeat', :method => :put | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters