diff options
author | Stefan Wintermeyer <stefan.wintermeyer@amooma.de> | 2013-02-15 14:49:16 +0100 |
---|---|---|
committer | Stefan Wintermeyer <stefan.wintermeyer@amooma.de> | 2013-02-15 14:49:16 +0100 |
commit | 3d11d0a3a047a12bfd40b61252e269cabac76225 (patch) | |
tree | c16baf628633205b2e664f86f2e0038f3ee3b097 /app/views/sim_card_providers/_index_core.html.haml | |
parent | 124a421b19e08447fa790b65cc969dadd7408539 (diff) |
Basic structure for sim_cards and sim_card_providers.
Diffstat (limited to 'app/views/sim_card_providers/_index_core.html.haml')
-rw-r--r-- | app/views/sim_card_providers/_index_core.html.haml | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/app/views/sim_card_providers/_index_core.html.haml b/app/views/sim_card_providers/_index_core.html.haml new file mode 100644 index 0000000..6a24695 --- /dev/null +++ b/app/views/sim_card_providers/_index_core.html.haml @@ -0,0 +1,21 @@ +%table.table.table-striped + %tr + %th= t('sim_card_providers.index.name') + %th= t('sim_card_providers.index.api_server_url') + %th= t('sim_card_providers.index.api_username') + %th= t('sim_card_providers.index.api_password') + %th= t('sim_card_providers.index.sip_server') + %th + + - for sim_card_provider in sim_card_providers + %tr + %td + - if sim_card_provider.homepage_url.blank? + = sim_card_provider.name + - else + = link_to sim_card_provider.name, sim_card_provider.homepage_url + %td= sim_card_provider.api_server_url + %td= sim_card_provider.api_username + %td= sim_card_provider.api_password + %td= sim_card_provider.sip_server + =render :partial => 'shared/index_view_edit_destroy_part', :locals => {:child => sim_card_provider}
\ No newline at end of file |